Lines Matching refs:child
34 # So that the child gets torn down after the test.
35 self.child = pexpect.spawn('expect')
36 child = self.child
38 child.expect(expect_prompt)
39 child.setecho(True)
41 child.logfile = sys.stdout
44 child.sendline('set env(TERM) xterm')
46 child.sendline('set env(TERM) vt100')
47 child.expect(expect_prompt)
48 child.sendline('puts $env(TERM)')
49 child.expect(expect_prompt)
51 # Turn on loggings for input/output to/from the child.
54 child.logfile_send = f_send1
55 child.logfile_read = f_read1
57 child.sendline('stty -a')
58 child.expect(expect_prompt)
62 child.logfile_send = None
63 child.logfile_read = None
66 child.sendline('%s %s' % (self.lldbHere, self.lldbOption))
67 child.expect_exact(lldb_prompt)
70 child.sendline('quit')
71 child.expect(expect_prompt)
75 child.logfile_send = f_send2
76 child.logfile_read = f_read2
78 child.sendline('stty -a')
79 child.expect(expect_prompt)
81 child.sendline('exit')
85 child.logfile_send = None
86 child.logfile_read = None