summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-28 10:07:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-28 10:07:52 +0000
commitb2f658c0d0f6c727dc68605a80f9fff66d5035ae (patch)
treefa37c5ee2d48b1c53a0dd6cb918b101433c6636a /test
parent27927c258a75bad3b6dcebe996138948268e8ca1 (diff)
* test/socket/test_unix.rb: test_seqpacket_pair removed.
[ruby-dev:28846] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/socket/test_unix.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index 008a970..87660cb 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -134,24 +134,6 @@ class TestUNIXSocket < Test::Unit::TestCase
assert_equal("", s1.recv(10))
assert_raise(Errno::EAGAIN) { s1.recv_nonblock(10) }
ensure
- s1.close
- s2.close
- end
-
- def test_seqpacket_pair
- s1, s2 = UNIXSocket.pair(Socket::SOCK_SEQPACKET)
- assert_raise(Errno::EAGAIN) { s1.recv_nonblock(10) }
- s2.send("", 0)
- s2.send("haha", 0)
- s2.send("", 0)
- s2.send("", 0)
- assert_equal("", s1.recv(10))
- assert_equal("haha", s1.recv(10))
- assert_equal("", s1.recv(10))
- assert_equal("", s1.recv(10))
- assert_raise(Errno::EAGAIN) { s1.recv_nonblock(10) }
- rescue Errno::EPROTONOSUPPORT
- ensure
s1.close if s1
s2.close if s2
end