# HG changeset patch
# User Jun Wu <quark@fb.com>
# Date 2017-01-06 16:19:41
# Node ID 3de9df6ee5bf7601aa3870f18304bbeb3ce351af
# Parent  7b526670f5401d86f81b955288d0095f786ef204

run-tests: unset CHGDEBUG

With CHGDEBUG, chg outputs much more stuff and the test could fail running
with --chg. So unset the environment variable.

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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]