From 603363369b40e991801f36e82bdc21eab819cc58 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 Apr 2010 08:54:07 +0000 Subject: * 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 --- test/socket/test_unix.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/socket') 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) -- cgit v1.2.1