Mercurial > hg-stable
diff tests/test-http-proxy @ 7269:95a53961d7a6
httprepo: factor out proxy handling
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 27 Oct 2008 17:48:05 +0100 |
parents | 7e963c80bbe6 |
children | 9105467b8167 |
line wrap: on
line diff
--- a/tests/test-http-proxy Mon Oct 27 17:37:37 2008 +0100 +++ b/tests/test-http-proxy Mon Oct 27 17:48:05 2008 +0100 @@ -38,5 +38,8 @@ echo %% bad host:port for proxy http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f +echo %% do not use the proxy if it is in the no list +http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g + cat proxy.log | sed -e 's/^.*\] /XXX /' exit 0