FreeBSD raises Errno::EMSGSIZE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0eb195cee3
commit
d348051773
@ -279,7 +279,7 @@ class TestSocketNonblock < Test::Unit::TestCase
|
||||
def test_sendmsg_nonblock_seqpacket
|
||||
buf = '*' * 10000
|
||||
UNIXSocket.pair(:SEQPACKET) do |s1, s2|
|
||||
assert_raise(IO::WaitWritable) do
|
||||
assert_raise(IO::WaitWritable,Errno::EMSGSIZE) do
|
||||
loop { s1.sendmsg_nonblock(buf) }
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user