##// END OF EJS Templates
test-http-bad-server: conditionalize error output for Windows
Matt Harbison -
r32020:acc67cd7 default
parent child Browse files
Show More
@@ -34,7 +34,8 b' Failure to accept() socket should result'
34 34 $ cat hg.pid > $DAEMON_PIDS
35 35
36 36 $ hg clone http://localhost:$HGPORT/ clone
37 abort: error: Connection reset by peer
37 abort: error: Connection reset by peer (no-windows !)
38 abort: error: An existing connection was forcibly closed by the remote host (windows !)
38 39 [255]
39 40
40 41 (The server exits on its own, but there is a race between that and starting a new server.
@@ -48,7 +49,8 b' Failure immediately after accept() shoul'
48 49 $ cat hg.pid > $DAEMON_PIDS
49 50
50 51 $ hg clone http://localhost:$HGPORT/ clone
51 abort: error: Connection reset by peer
52 abort: error: Connection reset by peer (no-windows !)
53 abort: error: An existing connection was forcibly closed by the remote host (windows !)
52 54 [255]
53 55
54 56 $ killdaemons.py $DAEMON_PIDS
General Comments 0
You need to be logged in to leave comments. Login now