summaryrefslogtreecommitdiff
path: root/test/test_open3.rb
diff options
context:
space:
mode:
authorwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 10:51:01 +0000
committerwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 10:51:01 +0000
commitfb9e83685733715d0f55d7b9cc83d1eefb5eea78 (patch)
tree494ce4ee8265b01b97c61c39c6eb79e17f395ced /test/test_open3.rb
parentf88284b91ec7eedb88216f0aa9c55ca7d18cb67c (diff)
* 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
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 406f39b..f8fb249 100644
--- a/test/test_open3.rb
+++ b/test/test_open3.rb
@@ -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)