summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-12 11:24:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-12 11:24:15 +0000
commit90fc1ef779adee01058e2f508cf1fca5e17e34dd (patch)
treeeea24fe763764fb423d73af20ebf426be441596c /test
parentc6ef5bc31e547ee905e5a218d293fef61647f65c (diff)
test/test_open3.rb: skip a fd redirection test on windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 3eef5ae196c..c91e69d9dd9 100644
--- a/test/test_open3.rb
+++ b/test/test_open3.rb
@@ -317,6 +317,7 @@ class TestOpen3 < Test::Unit::TestCase
end
def test_integer_and_symbol_key
+ skip "passing FDs bigger than 2 is not supported on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
command = [RUBY, '-e', 'puts "test_integer_and_symbol_key"']
out, status = Open3.capture2(*command, :in => IO::NULL, 3 => IO::NULL)
assert_equal("test_integer_and_symbol_key\n", out)