From f4274129eefc8f8c2d9c688e93ef692310268d83 Mon Sep 17 00:00:00 2001 From: shirosaki Date: Wed, 20 Mar 2013 07:49:14 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ test/ruby/test_signal.rb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index dd27d7aeca..c3ee31abde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 20 16:40:48 2013 Hiroshi Shirosaki + + * 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 * 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.