test-push-http: use killdaemons.py instead of kill to avoid test unreliability stable
authorGilles Moris <gilles.moris@free.fr>
Sun, 20 Feb 2011 18:06:05 +0100
branchstable
changeset 13449 8b1125eb361e
parent 13448 97b69883e929
child 13450 b3f9af7c22c5
test-push-http: use killdaemons.py instead of kill to avoid test unreliability
tests/test-push-http.t
--- a/tests/test-push-http.t	Sun Feb 20 00:57:55 2011 +0100
+++ b/tests/test-push-http.t	Sun Feb 20 18:06:05 2011 +0100
@@ -15,7 +15,7 @@
   >     hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
   >     cat hg.pid >> $DAEMON_PIDS
   >     hg --cwd ../test2 push http://localhost:$HGPORT/
-  >     kill `cat hg.pid`
+  >     "$TESTDIR/killdaemons.py"
   >     echo % serve errors
   >     cat errors.log
   > }