tests/test-http-proxy.t
changeset 45839 ebee234d952a
parent 41614 f2f538725d07
child 49274 b5fe10b3c9f5
equal deleted inserted replaced
45838:ae00e170f2d1 45839:ebee234d952a
    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\$|No route to host) (re)
    93   abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$|No route to host) (re)
    94   [255]
    94   [100]
    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
    99   requesting all changes
    99   requesting all changes