From 931cda4db8afd6b544a8d85a6815765a9c417213 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 31 Jul 2018 01:33:39 +0000 Subject: [PATCH] test/ruby/test_io.rb (test_race_gets_and_close): use SIGABRT on timeout I can't reproduce the test failure and I'm still not sure what's wrong, but maybe we can get a core dump from P895: http://ci.rvm.jp/results/trunk@P895/1174672 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index c92c31aa16..44f8391271 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3556,7 +3556,7 @@ __END__ end if File::BINARY != 0 def test_race_gets_and_close - assert_separately([], "#{<<-"begin;"}\n#{<<-"end;"}") + assert_separately([], "#{<<-"begin;"}\n#{<<-"end;"}", signal: :ABRT) bug13076 = '[ruby-core:78845] [Bug #13076]' begin; 10.times do |i|