summaryrefslogtreecommitdiff
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
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 e75d7b6f9a..fdf0ce72ea 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -69,6 +69,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
def test_fd_passing_n2
io_ary = []
return if !defined?(Socket::SCM_RIGHTS)
+ return if !defined?(Socket::AncillaryData)
io_ary.concat IO.pipe
io_ary.concat IO.pipe
io_ary.concat IO.pipe