[前][次][番号順一覧][スレッド一覧]

ruby-changes:51921

From: normal <ko1@a...>
Date: Tue, 31 Jul 2018 10:33:49 +0900 (JST)
Subject: [ruby-changes:51921] normal:r64135 (trunk): test/ruby/test_io.rb (test_race_gets_and_close): use SIGABRT on timeout

normal	2018-07-31 10:33:39 +0900 (Tue, 31 Jul 2018)

  New Revision: 64135

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64135

  Log:
    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

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 64134)
+++ test/ruby/test_io.rb	(revision 64135)
@@ -3556,7 +3556,7 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3556
   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|

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]