comparison tests/test-http-proxy.t @ 41614:f2f538725d07 stable

tests: fix regression tests failing on CentOS 7 Differential Revision: https://phab.mercurial-scm.org/D5877
author Mathias De Mare <mathias.de_mare@nokia.com>
date Thu, 07 Feb 2019 11:08:54 +0100
parents 97484e1d1834
children ebee234d952a
comparison
equal deleted inserted replaced
41613:8f0e8b179842 41614:f2f538725d07
88 88
89 bad host:port for proxy ("Protocol not supported" can happen on 89 bad host:port for proxy ("Protocol not supported" can happen on
90 misconfigured hosts) 90 misconfigured hosts)
91 91
92 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f 92 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f
93 abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$) (re) 93 abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$|No route to host) (re)
94 [255] 94 [255]
95 95
96 do not use the proxy if it is in the no list 96 do not use the proxy if it is in the no list
97 97
98 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g 98 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g