# HG changeset patch # User Thomas Arendsen Hein # Date 2011-10-22 21:21:38 # Node ID ec50fe3f7a76a1895d21e2b37517ec795125887e # Parent 7fe8b7e097a4f90a8c5962505592091e6b6c6dfd 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. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1129,6 +1129,8 @@ def main(): 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():