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:
parent
0dc145e7b2
commit
603363369b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue