test-http-bad-server: conditionalize error output for Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 16 Apr 2017 21:00:22 -0400
changeset 32020 acc67cd7f508
parent 32019 bca8ad5c1256
child 32021 08e46fcb8637
test-http-bad-server: conditionalize error output for Windows
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