# HG changeset patch # User Thomas Arendsen Hein # Date 1319318498 -7200 # Node ID dadecc4f3341bb50749a3e67c12724eec6801bdb # Parent b78cce2b1430ef3ccc7dc02a137c149b41e49ebe 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. [ original upstream message ] diff -r b78cce2b1430 -r dadecc4f3341 tests/run-tests.py --- a/tests/run-tests.py Mon Oct 24 13:54:59 2011 +0200 +++ 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():