runtests: unset editor and pager related environment variables
Those environment variables could affect some configuration and future
tests. Drop them to avoid issues.
--- 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]