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

* test/test_open3.rb (test_commandline): skip the test with Shellwords on

Windows.  see #1603

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
wanabe 2010-04-29 10:51:01 +00:00
parent f88284b91e
commit fb9e836857

View file

@ -60,6 +60,7 @@ class TestOpen3 < Test::Unit::TestCase
end
def test_commandline
skip "Shellwords is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
commandline = Shellwords.join([RUBY, '-e', 'print "quux"'])
Open3.popen3(commandline) {|i,o,e,t|
assert_equal("quux", o.read)