Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 16613:6a7ce975edd6
tests: set a standard terminal type
This makes test-ui-color.py happy when run in a dumb terminal.
Spotted by Jesse Glick <jesse.glick@oracle.com>
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 08 May 2012 15:46:51 -0500 |
parents | dd194e5df4c1 |
children | cfb6682961b8 |
line wrap: on
line diff
--- a/tests/run-tests.py Sun May 06 17:12:22 2012 -0700 +++ b/tests/run-tests.py Tue May 08 15:46:51 2012 -0500 @@ -1187,6 +1187,7 @@ os.environ['http_proxy'] = '' os.environ['no_proxy'] = '' os.environ['NO_PROXY'] = '' + os.environ['TERM'] = 'xterm' # unset env related to hooks for k in os.environ.keys():