run-tests: unset CHGDEBUG

With CHGDEBUG, chg outputs much more stuff and the test could fail running
with --chg. So unset the environment variable.
This commit is contained in:
Jun Wu 2017-01-06 16:19:41 +00:00
parent 5e3ca8d1ab
commit 3ca85be38e

View File

@ -849,7 +849,7 @@ class Test(unittest.TestCase):
env['TERM'] = 'xterm'
for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
'NO_PROXY').split():
'NO_PROXY CHGDEBUG').split():
if k in env:
del env[k]