mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class TestSocketNonblock < Test::Unit::TestCase
|
||||||
def test_sendmsg_nonblock_seqpacket
|
def test_sendmsg_nonblock_seqpacket
|
||||||
buf = '*' * 10000
|
buf = '*' * 10000
|
||||||
UNIXSocket.pair(:SEQPACKET) do |s1, s2|
|
UNIXSocket.pair(:SEQPACKET) do |s1, s2|
|
||||||
assert_raise(IO::WaitWritable) do
|
assert_raise(IO::WaitWritable,Errno::EMSGSIZE) do
|
||||||
loop { s1.sendmsg_nonblock(buf) }
|
loop { s1.sendmsg_nonblock(buf) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue