mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
behavior of mingw is just same with mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
192292af76
commit
f48ef8bb9e
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue