[PATCH] test-push-http: use killdaemons.py instead of kill to avoid test unreliability
Gilles Moris
gilles.moris at free.fr
Sun Feb 20 11:07:16 CST 2011
# HG changeset patch
# User Gilles Moris <gilles.moris at free.fr>
# Date 1298221565 -3600
# Node ID 9cace2bd206528bab4e522d3967ee81dfe267a60
# Parent 643b8212813e631b5525049fc4321a34a4def105
test-push-http: use killdaemons.py instead of kill to avoid test unreliability
diff -r 643b8212813e -r 9cace2bd2065 tests/test-push-http.t
--- a/tests/test-push-http.t Wed Feb 16 15:02:30 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
> }
More information about the Mercurial-devel
mailing list