summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-10 01:00:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-10 01:00:37 +0000
commitae2903619650b32ca2fbefab7c59ebb920a4067f (patch)
tree3f67bb100b7887793c0aa6b68eeba947c0a939bd /test/ruby
parent03c39e114b51f3036101565addc7c04e6b382382 (diff)
test_signal.rb: test iff SIGQUIT is supported
* test/ruby/test_signal.rb (test_trap_system_default): test only if SIGQUIT is supported, which is platform dependent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_signal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb
index 68da0d5840..6493f6c7ef 100644
--- a/test/ruby/test_signal.rb
+++ b/test/ruby/test_signal.rb
@@ -180,7 +180,7 @@ class TestSignal < Test::Unit::TestCase
trap(:QUIT, "SYSTEM_DEFAULT")
assert_equal("SYSTEM_DEFAULT", trap(:QUIT, "DEFAULT"))
End
- end
+ end if Signal.list.key?('QUIT')
def test_signal_requiring
t = Tempfile.new(%w"require_ensure_test .rb")