ruby-changes:51668
From: normal <ko1@a...>
Date: Sun, 8 Jul 2018 10:46:38 +0900 (JST)
Subject: [ruby-changes:51668] normal:r63880 (trunk): test/ruby/test_signal.rb: skip ensure if test is skipped
normal 2018-07-08 10:46:31 +0900 (Sun, 08 Jul 2018) New Revision: 63880 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63880 Log: test/ruby/test_signal.rb: skip ensure if test is skipped Thanks to Greg for the fix. [ruby-core:87860] [Bug #14867] Modified files: trunk/test/ruby/test_signal.rb Index: test/ruby/test_signal.rb =================================================================== --- test/ruby/test_signal.rb (revision 63879) +++ test/ruby/test_signal.rb (revision 63880) @@ -367,6 +367,6 @@ class TestSignal < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_signal.rb#L367 end end ensure - trap(:CHLD, old) + trap(:CHLD, old) if Signal.list['CHLD'] end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/