summaryrefslogtreecommitdiff
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
commit91ea1529c69e6c38be71ebe15f8204144c8b7991 (patch)
tree4878a40a0383952b6ead04735b59cdd5a41bcf1a
parentab15a714f875b44f95d18a5e7cc0f67b1c518276 (diff)
* test/socket/test_unix.rb: test_seqpacket_pair removed.
[ruby-dev:28846] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/socket/test_unix.rb18
2 files changed, 5 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index ca67dc48c6..8d402504d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 28 19:04:34 2006 Tanaka Akira <akr@m17n.org>
+
+ * test/socket/test_unix.rb: test_seqpacket_pair removed.
+ [ruby-dev:28846]
+
Wed Jun 28 13:51:21 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (when_check): arbitrary values are allowed after splats.
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index 008a970234..87660cbef3 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