[前][次][番号順一覧][スレッド一覧]

ruby-changes:38685

From: naruse <ko1@a...>
Date: Thu, 4 Jun 2015 12:25:19 +0900 (JST)
Subject: [ruby-changes:38685] naruse:r50766 (trunk): FreeBSD raises Errno::EMSGSIZE

naruse	2015-06-04 12:25:04 +0900 (Thu, 04 Jun 2015)

  New Revision: 50766

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50766

  Log:
    FreeBSD raises Errno::EMSGSIZE

  Modified files:
    trunk/test/socket/test_nonblock.rb
Index: test/socket/test_nonblock.rb
===================================================================
--- test/socket/test_nonblock.rb	(revision 50765)
+++ test/socket/test_nonblock.rb	(revision 50766)
@@ -279,7 +279,7 @@ class TestSocketNonblock < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/socket/test_nonblock.rb#L279
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]