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

ruby-changes:21256

From: usa <ko1@a...>
Date: Wed, 21 Sep 2011 17:02:16 +0900 (JST)
Subject: [ruby-changes:21256] usa:r33305 (trunk, ruby_1_9_3): * test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the

usa	2011-09-21 17:02:03 +0900 (Wed, 21 Sep 2011)

  New Revision: 33305

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

  Log:
    * test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
      behavior of mingw is just same with mswin.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/test/io/wait/test_io_wait.rb
    trunk/ChangeLog
    trunk/test/io/wait/test_io_wait.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33304)
+++ ChangeLog	(revision 33305)
@@ -1,3 +1,8 @@
+Wed Sep 21 16:55:26 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
+	  behavior of mingw is just same with mswin.
+
 Tue Sep 20 18:08:51 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
Index: test/io/wait/test_io_wait.rb
===================================================================
--- test/io/wait/test_io_wait.rb	(revision 33304)
+++ test/io/wait/test_io_wait.rb	(revision 33305)
@@ -9,7 +9,7 @@
 class TestIOWait < Test::Unit::TestCase
 
   def setup
-    if /mswin/ =~ RUBY_PLATFORM
+    if /mswin|mingw/ =~ RUBY_PLATFORM
       @r, @w = Socket.pair(Socket::AF_INET, Socket::SOCK_STREAM, 0)
     else
       @r, @w = IO.pipe
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 33304)
+++ ruby_1_9_3/ChangeLog	(revision 33305)
@@ -1,3 +1,8 @@
+Wed Sep 21 16:57:03 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
+	  behavior of mingw is just same with mswin.
+
 Sat Sep 17 22:21:26 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a
Index: ruby_1_9_3/test/io/wait/test_io_wait.rb
===================================================================
--- ruby_1_9_3/test/io/wait/test_io_wait.rb	(revision 33304)
+++ ruby_1_9_3/test/io/wait/test_io_wait.rb	(revision 33305)
@@ -9,7 +9,7 @@
 class TestIOWait < Test::Unit::TestCase
 
   def setup
-    if /mswin/ =~ RUBY_PLATFORM
+    if /mswin|mingw/ =~ RUBY_PLATFORM
       @r, @w = Socket.pair(Socket::AF_INET, Socket::SOCK_STREAM, 0)
     else
       @r, @w = IO.pipe

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

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