aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 10:18:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 10:18:29 +0000
commit8ced6af83ffa9c9bce220adf2ccca899e41b9bc3 (patch)
tree60b3eac801b890839b8f30503178ed16a0eace9b /test/ruby/test_gc.rb
parente3e5d634f0334df6f2392150a31ec1c725498a0c (diff)
downloadruby-8ced6af83ffa9c9bce220adf2ccca899e41b9bc3.tar.gz
explicitly overwrite signal handling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index 8b1cfee736..0ed592b285 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -334,6 +334,7 @@ class TestGc < Test::Unit::TestCase
def test_interrupt_in_finalizer
bug10595 = '[ruby-core:66825] [Bug #10595]'
src = <<-'end;'
+ Signal.trap(:INT, 'DEFAULT')
pid = $$
Thread.start do
10.times {