summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/io/wait/test_io_wait.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0abb21183d..b7af797b1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 21 16:55:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb
index a35caaa24a..3cf967e467 100644
--- a/test/io/wait/test_io_wait.rb
+++ b/test/io/wait/test_io_wait.rb
@@ -9,7 +9,7 @@ end
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