tests: set a standard terminal type
authorMatt Mackall <mpm@selenic.com>
Tue, 08 May 2012 15:46:51 -0500
changeset 16613 6a7ce975edd6
parent 16612 726dd0fc7cfe
child 16614 1d800eb9ba52
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>
tests/run-tests.py
--- 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():