diff tests/test-pull-http.t @ 17565:f62ed3d90377

tests: enable even more Windows server tests
author Patrick Mezard <patrick@mezard.eu>
date Fri, 14 Sep 2012 21:05:24 +0200
parents d5a3bda6e170
children a60963c02f92
line wrap: on
line diff
--- a/tests/test-pull-http.t	Fri Sep 14 20:40:52 2012 +0200
+++ b/tests/test-pull-http.t	Fri Sep 14 21:05:24 2012 +0200
@@ -1,4 +1,4 @@
-  $ "$TESTDIR/hghave" serve || exit 80
+  $ "$TESTDIR/hghave" killdaemons || exit 80
 
   $ hg init test
   $ cd test
@@ -49,7 +49,7 @@
   >     hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
   >     cat hg.pid >> $DAEMON_PIDS
   >     hg --cwd ../test pull http://localhost:$HGPORT/
-  >     kill `cat hg.pid`
+  >     "$TESTDIR/killdaemons.py" hg.pid
   >     echo % serve errors
   >     cat errors.log
   > }