From 990cc562ed1b9d7519a1ecf19fe0178c54bd7dec Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 9 Apr 2015 13:47:01 +0000 Subject: [PATCH] * test/ruby/test_process.rb (TestProcess#test_execopts_redirect_open_order_{normal,reverse}): ignore tests added by r50194 on Windows because ruby cannot pass non-standard fds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 4 ++-- 1 file 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|