diff options
-rw-r--r-- | test/readline/test_readline.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 2947dd7229..2f671d4e6f 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -567,6 +567,7 @@ module BasetestReadline assert interrupt_suppressed, "Should handle SIGINT correctly but raised interrupt.\nLog: #{log}\n----" end rescue Timeout::Error => e + Process.kill(:KILL, pid) assert false, "Timed out to handle SIGINT!\nLog: #{log}\nBacktrace:\n#{e.full_message(highlight: false)}\n----" ensure status = nil |