changeset 13449:8b1125eb361e stable

test-push-http: use killdaemons.py instead of kill to avoid test unreliability
author Gilles Moris <gilles.moris@free.fr>
date Sun, 20 Feb 2011 18:06:05 +0100
parents 97b69883e929
children b3f9af7c22c5
files tests/test-push-http.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
   > }