diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-02 04:13:17 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-02 04:13:17 +0000 |
| commit | 4e378b302655058882653b416c97b001372c2bb3 (patch) | |
| tree | cd59ff099222996c08045bb7c7b8de90697a75f4 /test/ruby | |
| parent | 5a8fe7402a08f2ba1bf3f68b53eb17d52b74bc6e (diff) | |
| download | ruby-4e378b302655058882653b416c97b001372c2bb3.tar.gz ruby-4e378b302655058882653b416c97b001372c2bb3.tar.xz ruby-4e378b302655058882653b416c97b001372c2bb3.zip | |
check Process.kill instead of Process#kill.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -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 27a0d5021..1ca9bf0b5 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -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 } |
