Mercurial > hg
comparison tests/test-serve.t @ 45067:9a062913bab6
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
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 09 Jul 2020 23:03:34 -0400 |
parents | b1a1702262c9 |
children | ebee234d952a |
comparison
equal
deleted
inserted
replaced
45066:5a80915e99ce | 45067:9a062913bab6 |
---|---|
101 | 101 |
102 $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS | 102 $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
103 | 103 |
104 issue6362: Previously, this crashed on Python 3 | 104 issue6362: Previously, this crashed on Python 3 |
105 | 105 |
106 $ hg serve -a 0.0.0.0 -d | 106 $ hg serve -a 0.0.0.0 -d --pid-file=hg.pid |
107 listening at http://*:$HGPORT1/ (bound to *:$HGPORT1) (glob) | 107 listening at http://*:$HGPORT1/ (bound to *:$HGPORT1) (glob) (?) |
108 | |
109 $ cat hg.pid > "$DAEMON_PIDS" | |
110 $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS | |
108 | 111 |
109 $ cd .. | 112 $ cd .. |