1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

check Process.kill instead of Process#kill.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-02 04:13:17 +00:00
parent 9bd11f24b3
commit f8e92ad562

View file

@ -12,7 +12,7 @@ class TestSignal < Test::Unit::TestCase
end
def test_signal
return unless Process.method_defined?(:kill)
return unless Process.respond_to?(:kill)
begin
x = 0
oldtrap = Signal.trap(:INT) {|sig| x = 2 }