# HG changeset patch # User Thomas Arendsen Hein # Date 1319318498 -7200 # 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 -r 7fe8b7e097a4 -r ec50fe3f7a76 tests/run-tests.py --- 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():