1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2015-04-09 13:47:01 +00:00
parent 3bf92fb10d
commit 990cc562ed

View file

@ -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|