diff tests/test-unbundlehash.t @ 17539:bc7377160fa7

tests: enable more server tests on Windows
author Patrick Mezard <patrick@mezard.eu>
date Wed, 12 Sep 2012 22:21:54 +0200
parents c5c9ca3719f9
children 7a9cbb315d84
line wrap: on
line diff
--- a/tests/test-unbundlehash.t	Wed Sep 12 22:31:54 2012 +0200
+++ b/tests/test-unbundlehash.t	Wed Sep 12 22:21:54 2012 +0200
@@ -1,4 +1,4 @@
-  $ "$TESTDIR/hghave" serve || exit 80
+  $ "$TESTDIR/hghave" killdaemons || exit 80
 
 Test wire protocol unbundle with hashed heads (capability: unbundlehash)
 
@@ -30,3 +30,8 @@
 
   $ cat access.log | grep unbundle
   * - - [*] "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+6768033e216468247bd031a0a2d9876d79818f8f (glob)
+
+Explicitly kill daemons to let the test exit on Windows
+
+  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
+