Skip to content

Commit a1a593b

Browse files
committed
record lines
1 parent 38702c9 commit a1a593b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/support/test_case.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def setup_remote_debuggee(cmd)
168168
remote_info.debuggee_backlog = []
169169

170170
line = nil
171+
lines = []
171172
msg1 = msg2 = nil
172173
redo_cnt = 0
173174

@@ -183,9 +184,10 @@ def setup_remote_debuggee(cmd)
183184

184185
# line << remote_info.r.gets
185186
rescue Errno::EIO
186-
pp(cmd: cmd, env: {'HOME' => homedir}, eof: eof, line: line, redo_cnt: redo_cnt, msg1: msg1, msg2: msg2)
187+
pp(cmd: cmd, env: {'HOME' => homedir}, eof: eof, line: line, redo_cnt: redo_cnt, msg1: msg1, msg2: msg2, lines: lines)
187188
raise
188189
end
190+
lines << line
189191
remote_info.debuggee_backlog << line
190192

191193
# wait for two lines (order is unstable)

0 commit comments

Comments
 (0)