ruby-changes:44580
From: shugo <ko1@a...>
Date: Mon, 7 Nov 2016 11:10:05 +0900 (JST)
Subject: [ruby-changes:44580] shugo:r56653 (trunk): Just check that interruption doesn't cause SEGV.
shugo 2016-11-07 11:10:00 +0900 (Mon, 07 Nov 2016) New Revision: 56653 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56653 Log: Just check that interruption doesn't cause SEGV. Modified files: trunk/test/ruby/test_optimization.rb Index: test/ruby/test_optimization.rb =================================================================== --- test/ruby/test_optimization.rb (revision 56652) +++ test/ruby/test_optimization.rb (revision 56653) @@ -354,9 +354,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_optimization.rb#L354 end end } - assert_not_equal(nil, status.termsig, bug12576) - assert_equal("INT", Signal.signame(status.termsig), bug12576) - assert_match(/Interrupt/, err, bug12576) + assert_not_equal("SEGV", Signal.signame(status.termsig || 0), bug12576) end unless /mswin|mingw/ =~ RUBY_PLATFORM class Bug10557 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/