comparison tests/test-static-http.t @ 29514:280528245ecf

tests: relax "Connection refused" match We already had the match relaxed on Windows, but on Google Compute Engine VMs I'm seeing "Network is unreachable" instead of "Connection refused". At this point, just give up and make sure we get an error back.
author Augie Fackler <augie@google.com>
date Tue, 12 Jul 2016 11:20:30 -0400
parents d6d3cf5fda6f
children 34a5f6c66bc5
comparison
equal deleted inserted replaced
29513:e5b4d79a9140 29514:280528245ecf
1 #require killdaemons 1 #require killdaemons
2 2
3 #if windows
4 $ hg clone http://localhost:$HGPORT/ copy 3 $ hg clone http://localhost:$HGPORT/ copy
5 abort: * (glob) 4 abort: * (glob)
6 [255] 5 [255]
7 #else
8 $ hg clone http://localhost:$HGPORT/ copy
9 abort: error: Connection refused
10 [255]
11 #endif
12 $ test -d copy 6 $ test -d copy
13 [1] 7 [1]
14 8
15 This server doesn't do range requests so it's basically only good for 9 This server doesn't do range requests so it's basically only good for
16 one pull 10 one pull