Mercurial > hg
diff tests/test-http-proxy.t @ 40973:97484e1d1834
tests: followup on network related errors on Debian 9
First, update test-clonebundles.t which was failing since the introduction of
the `$EADDRNOTAVAIL$` common pattern.
Also update two tests from 8695fbe17f7c with a more compact condition line.
Differential Revision: https://phab.mercurial-scm.org/D5445
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 16 Dec 2018 18:51:48 +0000 |
parents | 8695fbe17f7c |
children | f2f538725d07 |
line wrap: on
line diff
--- a/tests/test-http-proxy.t Sun Dec 16 17:55:08 2018 +0900 +++ b/tests/test-http-proxy.t Sun Dec 16 18:51:48 2018 +0000 @@ -90,8 +90,7 @@ misconfigured hosts) $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f - abort: error: (Connection refused|Protocol not supported|.* actively refused it) (re) (?) - abort: error: $EADDRNOTAVAIL$ (?) + abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$) (re) [255] do not use the proxy if it is in the no list