[PATCH 08 of 13 V3] run-tests: drop environment variables affecting configs
Jun Wu
quark at fb.com
Wed Mar 22 13:23:40 EDT 2017
# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1489455061 25200
# Mon Mar 13 18:31:01 2017 -0700
# Node ID c537d04829a8dc0b88fe03ec41e95a85638c696b
# Parent d604e5baed4ac2f5470860bff89728c282d71e3a
# Available At https://bitbucket.org/quark-zju/hg-draft
# hg pull https://bitbucket.org/quark-zju/hg-draft -r c537d04829a8
run-tests: drop environment variables affecting configs
Those environment variables can affect future tests. Drop them so tests run
reliably.
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -908,4 +908,5 @@ class Test(unittest.TestCase):
for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
'HGPLAIN HGPLAINEXCEPT ' +
+ 'EDITOR VISUAL PAGER ' +
'NO_PROXY CHGDEBUG').split():
if k in env:
More information about the Mercurial-devel
mailing list