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 | |
parent | 7f2a13ea10f043a5e64b958b6c92805a3e367840 (diff) | |
download | ruby-f4274129eefc8f8c2d9c688e93ef692310268d83.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_signal.rb | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Mar 20 16:40:48 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com> + + * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported. + On Windows this test causes ArgumentError. + Wed Mar 20 16:24:12 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com> * test/rubygems/test_gem_installer.rb (test_install_extension_flat): 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. |