aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_open3.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-08 06:26:11 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-08 06:26:11 +0000
commit934253416eb9eb5436c247014c05329346d16b5f (patch)
tree70ac6b7c66b098e2c18557189836a6d72fffad82 /test/test_open3.rb
parentd6aa766ad52d9f2c0813bf89fc28c1ad69b58edb (diff)
downloadruby-934253416eb9eb5436c247014c05329346d16b5f.tar.gz
* 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
Diffstat (limited to 'test/test_open3.rb')
-rw-r--r--test/test_open3.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_open3.rb b/test/test_open3.rb
index a268822bed..bdd9b4d9cb 100644
--- a/test/test_open3.rb
+++ b/test/test_open3.rb
@@ -81,6 +81,7 @@ class TestOpen3 < Test::Unit::TestCase
end
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|
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]")