Mercurial > hg-stable
changeset 32020:acc67cd7f508
test-http-bad-server: conditionalize error output for Windows
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 16 Apr 2017 21:00:22 -0400 |
parents | bca8ad5c1256 |
children | 08e46fcb8637 |
files | tests/test-http-bad-server.t |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-http-bad-server.t Sun Apr 16 20:59:14 2017 -0400 +++ b/tests/test-http-bad-server.t Sun Apr 16 21:00:22 2017 -0400 @@ -34,7 +34,8 @@ $ cat hg.pid > $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/ clone - abort: error: Connection reset by peer + abort: error: Connection reset by peer (no-windows !) + abort: error: An existing connection was forcibly closed by the remote host (windows !) [255] (The server exits on its own, but there is a race between that and starting a new server. @@ -48,7 +49,8 @@ $ cat hg.pid > $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/ clone - abort: error: Connection reset by peer + abort: error: Connection reset by peer (no-windows !) + abort: error: An existing connection was forcibly closed by the remote host (windows !) [255] $ killdaemons.py $DAEMON_PIDS