tests/test-archive
changeset 7344 58fd3c718ca4
parent 7080 a6477aa893b8
child 8145 0c2ba48415c8
--- a/tests/test-archive	Fri Nov 07 16:28:52 2008 -0600
+++ b/tests/test-archive	Fri Nov 07 16:28:53 2008 -0600
@@ -24,7 +24,7 @@
     echo % $3 and $4 disallowed should both give 403
     "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$3" | head -n 1
     "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$4" | head -n 1
-    kill `cat hg.pid`
+    "$TESTDIR/killdaemons.py"
     cat errors.log
     cp .hg/hgrc-base .hg/hgrc
 }
@@ -63,6 +63,8 @@
 http_proxy= python getarchive.py "$TIP" zip > archive.zip
 unzip -t archive.zip | sed "s/$QTIP/TIP/"
 
+"$TESTDIR/killdaemons.py"
+
 hg archive -t tar test.tar
 tar tf test.tar