diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-04 03:25:04 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-04 03:25:04 +0000 |
commit | d348051773c509537ee2801d57b83f94eb3fc560 (patch) | |
tree | 9f03b542c70f3a2fc8b3dc166e7b8f78733584af /test/socket/test_nonblock.rb | |
parent | 0eb195cee314d100e845efcd86b45dd3282b52aa (diff) |
FreeBSD raises Errno::EMSGSIZE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket/test_nonblock.rb')
-rw-r--r-- | test/socket/test_nonblock.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb index d058add782..b1959ee2c7 100644 --- a/test/socket/test_nonblock.rb +++ b/test/socket/test_nonblock.rb @@ -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 |