run-tests: make sure no_proxy/NO_PROXY are empty to fix test-http-proxy.t stable
authorThomas Arendsen Hein <thomas@intevation.de>
Sat, 22 Oct 2011 23:21:38 +0200
branchstable
changeset 996 dadecc4f3341
parent 995 b78cce2b1430
child 997 5c25b505ffc1
child 998 cc54b798aca4
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 ]
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():