[lldb/pexpect] Force-set the TERM environment variable
authorPavel Labath <pavel@labath.sk>
Fri, 20 Dec 2019 14:11:49 +0000 (15:11 +0100)
committerPavel Labath <pavel@labath.sk>
Fri, 20 Dec 2019 14:19:41 +0000 (15:19 +0100)
commitb04b92c3a4640417f2074e7e903df8c2b76eadfd
treee81c203dc8ef4b7915bb7ec706f5807d5a442d46
parent453dc4d7ec5a3c3d8f54fc358bc5673834516d48
[lldb/pexpect] Force-set the TERM environment variable

In some environments (typically, buildbots), this variable may not be
available. This can cause tests to behave differently.

Explicitly set the variable to "vt100" to ensure consistent test
behavior. It should not matter that we do not inherit the process TERM
variable, as the child process runs in a new virtual terminal anyway.
lldb/packages/Python/lldbsuite/test/lldbpexpect.py