Mercurial > hg-stable
changeset 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 | 726dd0fc7cfe |
children | 1d800eb9ba52 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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():