Mercurial > hg
comparison tests/test-http-proxy.t @ 32079:76ed60630dd5 stable
tests: fix two http tests to also pass inside manylinux1 docker
This will let us build Linux wheels.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 25 Apr 2017 16:50:01 +0200 |
parents | 9259cf823690 |
children | 88c1d13b637b |
comparison
equal
deleted
inserted
replaced
32078:bf5e13e38390 | 32079:76ed60630dd5 |
---|---|
85 | 85 |
86 bad host:port for proxy ("Protocol not supported" can happen on | 86 bad host:port for proxy ("Protocol not supported" can happen on |
87 misconfigured hosts) | 87 misconfigured hosts) |
88 | 88 |
89 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f | 89 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f |
90 abort: error: (Connection refused|Protocol not supported|.* actively refused it) (re) | 90 abort: error: (Connection refused|Protocol not supported|.* actively refused it|Cannot assign requested address) (re) |
91 [255] | 91 [255] |
92 | 92 |
93 do not use the proxy if it is in the no list | 93 do not use the proxy if it is in the no list |
94 | 94 |
95 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g | 95 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g |