Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
nspin committed Mar 20, 2024
1 parent c6e634d commit 0c0aae1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def main():
def run(args):
child = pexpect.spawn(args.simulate, encoding='utf-8')
child.logfile = sys.stdout
child.expect('echo> ', timeout=10)
time.sleep(5)
child.sendline('xxx')
child.expect('[x][x][x]', timeout=10)
child.expect('echo> ', timeout=5)
time.sleep(1)
child.send('xxx')
child.expect('\[x\]\[x\]\[x\]', timeout=5)
print()

if __name__ == '__main__':
Expand Down

0 comments on commit 0c0aae1

Please sign in to comment.