diff tests/run-tests.py @ 31635:632e07e72a22

runtests: unset editor and pager related environment variables Those environment variables could affect some configuration and future tests. Drop them to avoid issues.
author Jun Wu <quark@fb.com>
date Sun, 26 Mar 2017 20:58:54 -0700
parents ac47df82bdba
children 6a2959acae1a
line wrap: on
line diff
--- a/tests/run-tests.py	Sun Mar 26 17:59:33 2017 -0700
+++ b/tests/run-tests.py	Sun Mar 26 20:58:54 2017 -0700
@@ -906,7 +906,7 @@
         env['TERM'] = 'xterm'
 
         for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
-                  'HGPLAIN HGPLAINEXCEPT ' +
+                  'HGPLAIN HGPLAINEXCEPT EDITOR VISUAL PAGER ' +
                   'NO_PROXY CHGDEBUG').split():
             if k in env:
                 del env[k]