##// 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 $ cat hg.pid > $DAEMON_PIDS
34 $ cat hg.pid > $DAEMON_PIDS
35
35
36 $ hg clone http://localhost:$HGPORT/ clone
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 [255]
39 [255]
39
40
40 (The server exits on its own, but there is a race between that and starting a new server.
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 $ cat hg.pid > $DAEMON_PIDS
49 $ cat hg.pid > $DAEMON_PIDS
49
50
50 $ hg clone http://localhost:$HGPORT/ clone
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 [255]
54 [255]
53
55
54 $ killdaemons.py $DAEMON_PIDS
56 $ killdaemons.py $DAEMON_PIDS
General Comments 0
You need to be logged in to leave comments. Login now