summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_unix.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index a457ee586b..1c5395e380 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -339,9 +339,10 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
assert_raise(ArgumentError) { UNIXServer.new("a" * 300) }
end
- def test_nul
- assert_raise(ArgumentError) { Socket.sockaddr_un("a\0b") }
- end
+ #def test_nul
+ # # path may contain NULs for abstract unix sockets. [ruby-core:10288]
+ # assert_raise(ArgumentError) { Socket.sockaddr_un("a\0b") }
+ #end
def test_dgram_pair
s1, s2 = UNIXSocket.pair(Socket::SOCK_DGRAM)