git-p4: add p4d timeout in tests
commit842addef70e41f8bb8a16f4d9084432301c3f50f
authorLars Schneider <larsxschneider@gmail.com>
Thu, 19 Nov 2015 08:58:09 +0000 (19 09:58 +0100)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:06 +0000 (20 08:02 -0500)
tree45762074976add6441a81433d08799d4b4e47713
parent23aee4199a69fae861f9d173ee0ef1c2a7fab0d5
git-p4: add p4d timeout in tests

In rare cases p4d seems to hang. This watchdog will kill the p4d
process after 300s in any case. That means each individual git p4 test
needs to finish before 300s or it will fail.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Jeff King <peff@peff.net>
t/lib-git-p4.sh