Show the log of test_interrupt_in_other_thread when failed

This commit is contained in:
aycabta 2021-08-03 01:20:27 +09:00
parent 17ef7a98ef
commit 335c12826a
Notes: git 2021-08-04 18:30:12 +09:00

View File

@ -543,7 +543,7 @@ module BasetestReadline
[log, Process.wait2(pid)[1]]
end
unless asserted
assert false, "Unknown failure with exit status #{status}"
assert false, "Unknown failure with exit status #{status}\nLog: #{log}\n----"
end
ensure
f.close! if f