Commit 2dddfbbc authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Set os.environ['TERM'] = 'vt100' before running tests

Readline sometimes spews out ANSI escapes for some values of TERM,
which result in test failures.
parent 079efcc5
......@@ -15,6 +15,11 @@ import time
from testutil import *
from testglobals import *
# Readline sometimes spews out ANSI escapes for some values of TERM,
# which result in test failures. Thus set TERM to a nice, simple, safe
# value.
os.environ['TERM'] = 'vt100'
global config
config = getConfig() # get it from testglobals
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment