diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 1bf3bec63b..2be4e0d8a3 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1075,6 +1075,7 @@ class TestProcess < Test::Unit::TestCase Process.wait pid sleep 2 assert_equal [true], signal_received, " [ruby-core:19744]" + rescue NotImplementedError ensure Signal.trap(:CHLD, 'DEFAULT') end