1
0
Fork 0
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:
naruse 2015-06-04 03:25:04 +00:00
parent 0eb195cee3
commit d348051773

View file

@ -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