1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2010-04-28 08:54:07 +00:00
parent 0dc145e7b2
commit 603363369b

View file

@ -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)