Mercurial > hg
comparison tests/test-bad-pull.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 | 8c14f87bd0ae |
children | 75be14993fda |
comparison
equal
deleted
inserted
replaced
29513:e5b4d79a9140 | 29514:280528245ecf |
---|---|
1 #require serve killdaemons | 1 #require serve 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 | 6 |
13 $ test -d copy | 7 $ test -d copy |
14 [1] | 8 [1] |
15 | 9 |
16 $ python "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid | 10 $ python "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid |