tests: use killdaemons.py in test-pull-http
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 03 Jan 2009 20:20:40 +0100
changeset 7574 4afc3208a7b8
parent 7573 8bea01a65391
child 7575 3ccaefc84f45
tests: use killdaemons.py in test-pull-http
tests/test-pull-http
--- a/tests/test-pull-http	Sat Jan 03 21:25:19 2009 +0100
+++ b/tests/test-pull-http	Sat Jan 03 20:20:40 2009 +0100
@@ -19,7 +19,7 @@
 hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
 cat hg.pid >> $DAEMON_PIDS
 hg clone http://localhost:$HGPORT/ test3 | sed -e 's,:[0-9][0-9]*/,/,'
-kill `cat hg.pid`
+"$TESTDIR/killdaemons.py"
 echo % serve errors
 cat errors.log