changeset 31640: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 35738db2037a
children f3b151278655
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]