From d348051773c509537ee2801d57b83f94eb3fc560 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 4 Jun 2015 03:25:04 +0000 Subject: FreeBSD raises Errno::EMSGSIZE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_nonblock.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/socket') 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 -- cgit v1.2.3