Skip to content

Commit dfbf971

Browse files
committed
Make run_end test wait before responding to some prompts to fix hang
1 parent 11bb87b commit dfbf971

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/test/run_end.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44

55
# Test that invalid syntax doesn't crash rr
66
send_gdb('run run 100')
7+
expect_gdb('from the beginning')
78
send_gdb('y')
9+
expect_gdb('(rr)')
810
send_gdb('break main')
911
expect_gdb('Breakpoint 1')
1012
send_gdb('c')
1113
expect_gdb('Breakpoint 1')
1214

1315
# Running with a big event number should reach the end of the recording
1416
send_gdb('run 10000')
17+
expect_gdb('from the beginning')
1518
send_gdb('y')
1619
expect_gdb('SIGKILL')
1720
send_gdb('c')

0 commit comments

Comments
 (0)