diff options
-rw-r--r-- | test/ruby/test_optimization.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb index b964b26461..235ec53b57 100644 --- a/test/ruby/test_optimization.rb +++ b/test/ruby/test_optimization.rb @@ -354,9 +354,7 @@ EOS 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 |