diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 67d946317d..8ecaf304f6 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -545,7 +545,7 @@ class TestProcess < Test::Unit::TestCase system RUBY, "-e", "#{minfd}.upto(#{maxfd}) {|fd| IO.new(fd).print fd.to_s }", opts minfd.upto(maxfd) {|fd| assert_equal(fd.to_s, File.read("out#{fd}")) } } - end + end unless windows? # passing non-stdio fds is not supported on Windows def test_execopts_redirect_open_order_reverse minfd = 3 @@ -556,7 +556,7 @@ class TestProcess < Test::Unit::TestCase system RUBY, "-e", "#{minfd}.upto(#{maxfd}) {|fd| IO.new(fd).print fd.to_s }", opts minfd.upto(maxfd) {|fd| assert_equal(fd.to_s, File.read("out#{fd}")) } } - end + end unless windows? # passing non-stdio fds is not supported on Windows def test_execopts_redirect_pipe with_pipe {|r1, w1| |