summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index e4c7bc9190..58644832d3 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1580,7 +1580,10 @@ class TestProcess < Test::Unit::TestCase
pid = nil
IO.pipe do |r, w|
pid = fork { r.read(1); exit }
- Thread.start { raise }
+ Thread.start {
+ Thread.current.report_on_exception = false
+ raise
+ }
w.puts
end
Process.wait pid