Set the terminal type to 'xterm' before doing 'stty -a'.

llvm-svn: 150127
This commit is contained in:
Johnny Chen 2012-02-09 01:16:04 +00:00
parent 26f4b32f26
commit 177df6f35c
1 changed files with 6 additions and 1 deletions

View File

@ -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: