Skip to content

Commit

Permalink
Add logging about Errno::EPIPE
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Aug 11, 2021
1 parent 7d84251 commit 2217b82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/readline/test_readline.rb
Expand Up @@ -537,6 +537,7 @@ def test_interrupt_in_other_thread
log << "** NEWLINE **"
_in.write "\n"
rescue Errno::EPIPE
log << "** Errno::EPIPE **"
# The "write" will fail if Reline crashed by SIGINT.
end
loop do
Expand Down

0 comments on commit 2217b82

Please sign in to comment.