forked from OSchip/llvm-project
Set the terminal type to 'xterm' before doing 'stty -a'.
llvm-svn: 150127
This commit is contained in:
parent
26f4b32f26
commit
177df6f35c
|
@ -37,6 +37,11 @@ class CommandLineCompletionTestCase(TestBase):
|
|||
if self.TraceOn():
|
||||
child.logfile = sys.stdout
|
||||
|
||||
child.sendline('set env(TERM) xterm')
|
||||
child.expect(expect_prompt)
|
||||
child.sendline('puts $env(TERM)')
|
||||
child.expect(expect_prompt)
|
||||
|
||||
# Turn on loggings for input/output to/from the child.
|
||||
with open('child_send1.txt', 'w') as f_send1:
|
||||
with open('child_read1.txt', 'w') as f_read1:
|
||||
|
|
Loading…
Reference in New Issue