diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-20 07:49:14 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-20 07:49:14 +0000 |
commit | f4274129eefc8f8c2d9c688e93ef692310268d83 (patch) | |
tree | 963e12e9285ffe05b2ddb5e41f9a7be190d2a0ba /test/ruby/test_signal.rb | |
parent | 7f2a13ea10f043a5e64b958b6c92805a3e367840 (diff) |
* test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.
On Windows this test causes ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 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, 2 insertions, 0 deletions
diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index 2cab5eb1db..c7cce9a9d7 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -275,6 +275,8 @@ EOS end def test_hup_me + return unless Signal.list.has_key?('HUP') + # [Bug #7951] [ruby-core:52864] # This is MRI specific spec. ruby has no guarantee # that signal will be deliverd synchronously. |