ruby-changes:39479
From: nobu <ko1@a...>
Date: Thu, 13 Aug 2015 12:34:52 +0900 (JST)
Subject: [ruby-changes:39479] nobu:r51560 (trunk): test_gc.rb: dump hung up process
nobu 2015-08-13 12:34:38 +0900 (Thu, 13 Aug 2015) New Revision: 51560 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51560 Log: test_gc.rb: dump hung up process * test/ruby/test_gc.rb (test_interrupt_in_finalizer): kill hung up process by SIGSEGV to dump the backtrace. Modified files: trunk/test/ruby/test_gc.rb Index: test/ruby/test_gc.rb =================================================================== --- test/ruby/test_gc.rb (revision 51559) +++ test/ruby/test_gc.rb (revision 51560) @@ -346,7 +346,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L346 ObjectSpace.define_finalizer(Object.new, f) end end; - out, err, status = assert_in_out_err(["-e", src], "", [], [], bug10595, signal: :ABRT) do |*result| + out, err, status = assert_in_out_err(["-e", src], "", [], [], bug10595, signal: :SEGV) do |*result| break result end unless /mswin|mingw/ =~ RUBY_PLATFORM -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/