Home
last modified time | relevance | path

Searched refs:sendline (Results 1 – 25 of 35) sorted by relevance

12

/external/lldb/test/pexpect-2.4/examples/
Dmonitor.py87 child.sendline ('yes')
95 child.sendline(password)
100 child.sendline (TERMINAL_TYPE)
106 child.sendline ("PS1='[PEXPECT]\$ '") # In case of sh-style
110 child.sendline ("set prompt='[PEXPECT]\$ '")
124 child.sendline ('uname -a')
133 child.sendline ('uptime')
155 child.sendline ('iostat')
160 child.sendline ('vmstat')
166 child.sendline ('free') # Linux systems only.
[all …]
Dftp.py14 child.sendline('anonymous')
16 child.sendline('pexpect@sourceforge.net')
18 child.sendline('cd /pub/OpenBSD/3.7/packages/i386')
20 child.sendline('bin')
22 child.sendline('prompt')
24 child.sendline('pwd')
40 child.sendline('bye') # Try to ask ftp child to exit.
Dpassmass.py28 child.sendline ('yes')
30 child.sendline(password)
38 child.sendline (TERMINAL_TYPE)
45 child.sendline('passwd')
49 child.sendline(oldpassword)
51 child.sendline(newpassword)
57 child.sendline('') # This should tell remote passwd command to quit.
59 child.sendline(newpassword)
83 child.sendline('exit')
Dchess.py35 self.child.sendline (move)
43 self.child.sendline (move)
69 self.child.sendline ('switch')
72 self.child.sendline ('depth')
74 self.child.sendline ('%d' % depth)
77 self.child.sendline ('quit')
Dchess2.py68 self.child.sendline (move)
92 self.child.sendline ('switch')
95 self.child.sendline ('depth')
97 self.child.sendline ('%d' % depth)
100 self.child.sendline ('quit')
Dchess3.py51 self.child.sendline (move)
70 self.child.sendline ('switch')
73 self.child.sendline ('depth')
75 self.child.sendline ('%d' % depth)
78 self.child.sendline ('quit')
Dsshls.py29 child.sendline ('yes')
37 child.sendline(password)
Dssh_session.py53 child.sendline('yes')
58 child.sendline(self.password)
/external/lldb/test/functionalities/stop-hook/
DTestStopHookMechanism.py54 child.sendline('breakpoint set -f main.cpp -l %d' % self.begl)
56 child.sendline('breakpoint set -f main.cpp -l %d' % self.line)
58 child.sendline('target stop-hook add -f main.cpp -l %d -e %d' % (self.begl, self.endl))
60 child.sendline('expr ptr')
62 child.sendline('DONE')
64 child.sendline('target stop-hook list')
68 child.sendline('run')
70 child.sendline('thread step-over')
78 child.sendline('frame info')
82 child.sendline('process continue')
[all …]
/external/lldb/test/benchmarks/expression/
DTestRepeatedExprs.py52 child.sendline('breakpoint set -f %s -l %d' % (self.source, self.line_to_break))
54 child.sendline('run')
63 child.sendline(expr_cmd1)
65 child.sendline(expr_cmd2)
67 child.sendline('process continue')
70 child.sendline('quit')
97 child.sendline('break %s:%d' % (self.source, self.line_to_break))
99 child.sendline('run')
108 child.sendline(expr_cmd1)
110 child.sendline(expr_cmd2)
[all …]
DTestExpressionCmd.py50 child.sendline('breakpoint set -f %s -l %d' % (self.source, self.line_to_break))
52 child.sendline('run')
58 child.sendline(expr_cmd1)
60 child.sendline(expr_cmd2)
63 child.sendline('quit')
/external/lldb/test/benchmarks/disassembly/
DTestDisassembly.py82 child.sendline('breakpoint set -F %s' % function)
84 child.sendline('run')
92 child.sendline('disassemble -f')
94 child.sendline('next')
97 child.sendline('quit')
122 child.sendline('break %s' % function)
124 child.sendline('run')
132 child.sendline('disassemble')
134 child.sendline('next')
137 child.sendline('quit')
[all …]
DTestXcode41Vs42GDBDisassembly.py63 child.sendline('break %s' % function)
65 child.sendline('run')
73 child.sendline('disassemble')
75 child.sendline('next')
78 child.sendline('quit')
80 child.sendline('y')
/external/lldb/test/functionalities/embedded_interpreter/
DTestConvenienceVariables.py49 child.sendline('breakpoint set -f main.c -l %d' % self.line)
51 child.sendline('run')
53 child.sendline('script')
60 child.sendline('print lldb.debugger')
65 child.sendline('print lldb.target')
70 child.sendline('print lldb.process')
75 child.sendline('print lldb.thread')
80 child.sendline('print lldb.frame')
/external/lldb/test/pexpect-2.4/
Dpxssh.py140 self.sendline()
144 self.sendline()
148 self.sendline()
203 self.sendline("yes")
206 self.sendline(password)
209 self.sendline(terminal_type)
263 self.sendline("exit")
266 self.sendline("exit")
301 self.sendline ("unset PROMPT_COMMAND")
302 self.sendline (self.PROMPT_SET_SH) # sh-style
[all …]
/external/lldb/test/terminal/
DTestSTTYBeforeAndAfter.py44 child.sendline('set env(TERM) xterm')
46 child.sendline('set env(TERM) vt100')
48 child.sendline('puts $env(TERM)')
57 child.sendline('stty -a')
66 child.sendline('%s %s' % (self.lldbHere, self.lldbOption))
70 child.sendline('quit')
78 child.sendline('stty -a')
81 child.sendline('exit')
/external/lldb/test/benchmarks/turnaround/
DTestCompileRunToBreakpointTurnaround.py48 child.sendline('breakpoint set -F %s' % function)
50 child.sendline('run')
66 self.child.sendline('quit')
88 child.sendline('break %s' % function)
90 child.sendline('run')
106 self.child.sendline('quit')
108 self.child.sendline('y')
/external/lldb/test/functionalities/command_regex/
DTestCommandRegex.py30 child.sendline("command regex 'Help__'")
32 child.sendline('s/^$/help/')
34 child.sendline('')
36 child.sendline('Help__')
/external/lldb/test/functionalities/stop-hook/multiple_threads/
DTestStopHookMultipleThreads.py57 child.sendline('breakpoint set -f main.cpp -l %d' % self.first_stop)
59 child.sendline('breakpoint set -f main.cpp -l %d' % self.thread_function)
63 child.sendline('run')
65 child.sendline('target stop-hook add -o "frame variable --show-globals g_val"')
69 child.sendline('continue')
/external/lldb/test/benchmarks/frame_variable/
DTestFrameVariableResponse.py52 child.sendline('breakpoint set %s' % break_spec)
56 child.sendline('run') # Aka 'process launch'.
61 child.sendline('frame variable')
64 child.sendline('quit')
/external/lldb/test/benchmarks/stepping/
DTestSteppingSpeed.py52 child.sendline('breakpoint set %s' % break_spec)
54 child.sendline('run')
62 child.sendline('next') # Aka 'thread step-over'.
65 child.sendline('quit')
DTestRunHooksThenSteppings.py50 child.sendline('next') # Aka 'thread step-over'.
53 child.sendline('quit')
/external/lldb/test/benchmarks/startup/
DTestStartupDelays.py61 child.sendline('file %s' % exe) # Aka 'target create'.
66 child.sendline('breakpoint set %s' % break_spec)
71 child.sendline('run')
74 child.sendline('quit')
/external/lldb/utils/test/
Ddisasm.py42 gdb.sendline(cmd)
46 gdb.sendline('file %s' % exe)
50 gdb.sendline('disassemble %s' % func)
90 gdb.sendline('x /%db %s' % (addr_diff, prev_addr))
105 gdb.sendline('quit')
Drun-until-faulted.py41 lldb.sendline('file %s' % exe)
51 lldb.sendline('process launch -- %s' % exe_options)

12