diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 10:18:29 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 10:18:29 +0000 |
commit | 855d68d757b8a70a156cc6ee23b3af301a6f5299 (patch) | |
tree | 60b3eac801b890839b8f30503178ed16a0eace9b /test/ruby/test_process.rb | |
parent | eb3268966f3d700719087df66c1b30eb64f9fff6 (diff) | |
download | ruby-855d68d757b8a70a156cc6ee23b3af301a6f5299.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_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 177af17724..755b9c665c 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1364,7 +1364,7 @@ class TestProcess < Test::Unit::TestCase return unless Signal.list.include?("QUIT") with_tmpchdir do - s = assert_in_out_err([], "Process.kill(:SIGQUIT, $$);sleep 30", //, //, rlimit_core: 0) + s = assert_in_out_err([], "Signal.trap(:QUIT,'DEFAULT'); Process.kill(:SIGQUIT, $$);sleep 30", //, //, rlimit_core: 0) assert_equal([false, true, false, nil], [s.exited?, s.signaled?, s.stopped?, s.success?], "[s.exited?, s.signaled?, s.stopped?, s.success?]") |