Mercurial > hg
changeset 15344:ec50fe3f7a76 stable
run-tests: make sure no_proxy/NO_PROXY are empty to fix test-http-proxy.t
If no_proxy (or NO_PROXY) includes localhost, the test for detecting an
unreachable proxy fails, because the proxy setting is ignored.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 22 Oct 2011 23:21:38 +0200 |
parents | 7fe8b7e097a4 |
children | 6e3c560f2fd1 |
files | tests/run-tests.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Sat Oct 22 15:39:51 2011 -0400 +++ b/tests/run-tests.py Sat Oct 22 23:21:38 2011 +0200 @@ -1129,6 +1129,8 @@ os.environ['COLUMNS'] = '80' os.environ['GREP_OPTIONS'] = '' os.environ['http_proxy'] = '' + os.environ['no_proxy'] = '' + os.environ['NO_PROXY'] = '' # unset env related to hooks for k in os.environ.keys():