mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/test_open3.rb (TestOpen3#test_numeric_file_descriptors): passing FDs
bigger than 2 is not supported on Windows. fixed test failure introcuded at r49173. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d6aa766ad5
commit
934253416e
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ class TestOpen3 < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_numeric_file_descriptors
|
def test_numeric_file_descriptors
|
||||||
|
skip "passing FDs bigger than 2 is not supported on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||||
with_pipe { |r, w|
|
with_pipe { |r, w|
|
||||||
Open3.popen3(RUBY, '-e', 'IO.open(3).puts "foo"', 3 => w) {|i,o,e,t|
|
Open3.popen3(RUBY, '-e', 'IO.open(3).puts "foo"', 3 => w) {|i,o,e,t|
|
||||||
assert_equal("foo\n", r.gets, "[GH-808] [ruby-core:67347] [Bug #10699]")
|
assert_equal("foo\n", r.gets, "[GH-808] [ruby-core:67347] [Bug #10699]")
|
||||||
|
|
Loading…
Reference in a new issue