diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 01:46:31 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 01:46:31 +0000 |
commit | bc4ecaa6990a0fbf81e1547aa7216c5a6d0d2213 (patch) | |
tree | 359eb8f913b2f69b7dae47a20d73a3945f587bdf /test/ruby/test_signal.rb | |
parent | b93dc848835f93efc100cde2d3056512e7ddf557 (diff) | |
download | ruby-bc4ecaa6990a0fbf81e1547aa7216c5a6d0d2213.tar.gz |
test/ruby/test_signal.rb: skip ensure if test is skipped
Thanks to Greg for the fix. [ruby-core:87860] [Bug #14867]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_signal.rb')
-rw-r--r-- | test/ruby/test_signal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index f242a2dc4c..549424a344 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -367,6 +367,6 @@ class TestSignal < Test::Unit::TestCase end end ensure - trap(:CHLD, old) + trap(:CHLD, old) if Signal.list['CHLD'] end end |