aboutsummaryrefslogtreecommitdiffstats
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-28 08:54:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-28 08:54:07 +0000
commit603363369b40e991801f36e82bdc21eab819cc58 (patch)
treee0f20d643d8d7245a2d44966300a677358cacd25 /test/socket/test_unix.rb
parent0dc145e7b2b187ca595bb45dd289fb9f8f93789d (diff)
downloadruby-603363369b40e991801f36e82bdc21eab819cc58.tar.gz
* test/socket/test_unix.rb (TestSocket_UNIXSocket#test_recvmsg):
skip if AncillaryData is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket/test_unix.rb')
-rw-r--r--test/socket/test_unix.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index d8cf7139e9..bde17cf0ab 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -168,6 +168,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
def test_recvmsg
return if !defined?(Socket::SCM_RIGHTS)
+ return if !defined?(Socket::AncillaryData)
IO.pipe {|r1, w|
UNIXSocket.pair {|s1, s2|
s1.send_io(r1)