tests/test-serve.t
changeset 37892 89793289c891
parent 35858 7de7bd407251
child 39723 5abc47d4ca6b
--- a/tests/test-serve.t	Mon Apr 30 19:54:55 2018 -0700
+++ b/tests/test-serve.t	Sat May 05 19:00:03 2018 -0700
@@ -6,10 +6,11 @@
   >        | sed -e "s/:$HGPORT1\\([^0-9]\\)/:HGPORT1\1/g" \
   >              -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
   >              -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
-  >    cat hg.pid >> "$DAEMON_PIDS"
+  >    if [ -f hg.pid ]; then
+  >        killdaemons.py hg.pid
+  >    fi
   >    echo % errors
   >    cat errors.log
-  >    killdaemons.py hg.pid
   > }
 
   $ hg init test