Searched refs:sendline (Results 1 – 25 of 35) sorted by relevance
12
87 child.sendline ('yes')95 child.sendline(password)100 child.sendline (TERMINAL_TYPE)106 child.sendline ("PS1='[PEXPECT]\$ '") # In case of sh-style110 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 …]
14 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.
28 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')
35 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')
68 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')
51 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')
29 child.sendline ('yes')37 child.sendline(password)
53 child.sendline('yes')58 child.sendline(self.password)
54 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 …]
52 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 …]
50 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')
82 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 …]
63 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')
49 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')
140 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 …]
44 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')
48 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')
30 child.sendline("command regex 'Help__'")32 child.sendline('s/^$/help/')34 child.sendline('')36 child.sendline('Help__')
57 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')
52 child.sendline('breakpoint set %s' % break_spec)56 child.sendline('run') # Aka 'process launch'.61 child.sendline('frame variable')64 child.sendline('quit')
52 child.sendline('breakpoint set %s' % break_spec)54 child.sendline('run')62 child.sendline('next') # Aka 'thread step-over'.65 child.sendline('quit')
50 child.sendline('next') # Aka 'thread step-over'.53 child.sendline('quit')
61 child.sendline('file %s' % exe) # Aka 'target create'.66 child.sendline('breakpoint set %s' % break_spec)71 child.sendline('run')74 child.sendline('quit')
42 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')
41 lldb.sendline('file %s' % exe)51 lldb.sendline('process launch -- %s' % exe_options)