tests: set a standard terminal type stable
authorMatt Mackall <mpm@selenic.com>
Tue, 08 May 2012 15:46:51 -0500
branchstable
changeset 1068 459c0537273b
parent 1067 e38ac7e364d4
child 1069 4e0cef7a70cf
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> [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Thu May 10 18:21:15 2012 +0200
+++ 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():