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
This commit is contained in:
mame 2018-12-12 11:24:15 +00:00
Родитель c6ef5bc31e
Коммит 90fc1ef779
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -317,6 +317,7 @@ class TestOpen3 < Test::Unit::TestCase
end end
def test_integer_and_symbol_key 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"'] command = [RUBY, '-e', 'puts "test_integer_and_symbol_key"']
out, status = Open3.capture2(*command, :in => IO::NULL, 3 => IO::NULL) out, status = Open3.capture2(*command, :in => IO::NULL, 3 => IO::NULL)
assert_equal("test_integer_and_symbol_key\n", out) assert_equal("test_integer_and_symbol_key\n", out)