# HG changeset patch # User Matt Harbison # Date 1594350214 14400 # Node ID 9a062913bab6eb3ed51e7890bc763471fae7ee49 # Parent 5a80915e99ce61e87dc1cf0315d05fe5487aa858 tests: stablize test-serve.t on Windows I forget the reason that the subprocess on Windows doesn't print this, but all other instances of this are similarly conditionalized, so I didn't think too hard about it. Also, the server needs to be killed so it doesn't prevent the next run from working, especially since the port isn't randomized. Differential Revision: https://phab.mercurial-scm.org/D8720 diff -r 5a80915e99ce -r 9a062913bab6 tests/test-serve.t --- a/tests/test-serve.t Mon Jul 06 21:08:15 2020 +0200 +++ b/tests/test-serve.t Thu Jul 09 23:03:34 2020 -0400 @@ -103,7 +103,10 @@ issue6362: Previously, this crashed on Python 3 - $ hg serve -a 0.0.0.0 -d - listening at http://*:$HGPORT1/ (bound to *:$HGPORT1) (glob) + $ hg serve -a 0.0.0.0 -d --pid-file=hg.pid + listening at http://*:$HGPORT1/ (bound to *:$HGPORT1) (glob) (?) + + $ cat hg.pid > "$DAEMON_PIDS" + $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ cd ..