# HG changeset patch # User Augie Fackler # Date 1468336830 14400 # Node ID 280528245ecf4e8cc1a31a9750062178029de01d # Parent e5b4d79a9140c3d90e9b6aa22070351b73ef2d4c 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. diff -r e5b4d79a9140 -r 280528245ecf tests/test-bad-pull.t --- a/tests/test-bad-pull.t Sat May 21 15:23:21 2016 +0900 +++ b/tests/test-bad-pull.t Tue Jul 12 11:20:30 2016 -0400 @@ -1,14 +1,8 @@ #require serve killdaemons -#if windows $ hg clone http://localhost:$HGPORT/ copy abort: * (glob) [255] -#else - $ hg clone http://localhost:$HGPORT/ copy - abort: error: Connection refused - [255] -#endif $ test -d copy [1] diff -r e5b4d79a9140 -r 280528245ecf tests/test-static-http.t --- a/tests/test-static-http.t Sat May 21 15:23:21 2016 +0900 +++ b/tests/test-static-http.t Tue Jul 12 11:20:30 2016 -0400 @@ -1,14 +1,8 @@ #require killdaemons -#if windows $ hg clone http://localhost:$HGPORT/ copy abort: * (glob) [255] -#else - $ hg clone http://localhost:$HGPORT/ copy - abort: error: Connection refused - [255] -#endif $ test -d copy [1]