diff tests/test-push-http.t @ 17466:d5a3bda6e170

killdaemons: take file argument explicitely It makes it easier to use as a generic replacement for kill utility, mostly for Windows tests.
author Patrick Mezard <patrick@mezard.eu>
date Mon, 20 Aug 2012 22:36:51 +0200
parents 59a168019255
children f62ed3d90377
line wrap: on
line diff
--- a/tests/test-push-http.t	Sun Aug 19 18:06:15 2012 +0200
+++ b/tests/test-push-http.t	Mon Aug 20 22:36:51 2012 +0200
@@ -17,7 +17,7 @@
   >     cat hg.pid >> $DAEMON_PIDS
   >     hg --cwd ../test2 push http://localhost:$HGPORT/
   >     exitstatus=$?
-  >     "$TESTDIR/killdaemons.py"
+  >     "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   >     echo % serve errors
   >     cat errors.log
   >     return $exitstatus