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

ruby-changes:33016

From: usa <ko1@a...>
Date: Sat, 22 Feb 2014 11:44:50 +0900 (JST)
Subject: [ruby-changes:33016] usa:r45095 (ruby_1_9_3): * test/socket/test_unix.rb: 1.9.3 doesn't have IO::EAGAINWaitReadable.

usa	2014-02-22 11:44:45 +0900 (Sat, 22 Feb 2014)

  New Revision: 45095

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

  Log:
    * test/socket/test_unix.rb: 1.9.3 doesn't have IO::EAGAINWaitReadable.
      use IO::WaitReadable instead.  this fixes the test failure introduced
      at r45093.

  Modified files:
    branches/ruby_1_9_3/test/socket/test_unix.rb
    branches/ruby_1_9_3/version.h
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 45094)
+++ ruby_1_9_3/version.h	(revision 45095)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 540
+#define RUBY_PATCHLEVEL 541
 
 #define RUBY_RELEASE_DATE "2014-02-22"
 #define RUBY_RELEASE_YEAR 2014
Index: ruby_1_9_3/test/socket/test_unix.rb
===================================================================
--- ruby_1_9_3/test/socket/test_unix.rb	(revision 45094)
+++ ruby_1_9_3/test/socket/test_unix.rb	(revision 45095)
@@ -358,7 +358,7 @@ class TestSocket_UNIXSocket < Test::Unit https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/test/socket/test_unix.rb#L358
         pipe[0].read_nonblock(1)
         fail
       rescue => e
-        assert(IO::EAGAINWaitReadable === e)
+        assert(IO::WaitReadable === e)
       end
     end
     Timeout.timeout(10) do

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

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