# HG changeset patch # User Matt Harbison # Date 1492390822 14400 # Node ID acc67cd7f508c5f90eed1f1d281e5019f0f63787 # Parent bca8ad5c12565aad5828628eee6f929951aa138d test-http-bad-server: conditionalize error output for Windows diff -r bca8ad5c1256 -r acc67cd7f508 tests/test-http-bad-server.t --- 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