summaryrefslogtreecommitdiff
path: root/test/ruby/test_system.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-05 03:23:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-05 03:23:10 +0000
commit6c9e95df88d124a5fd0e7c996ce10b47471ee39d (patch)
tree516f9ccdd40bb82adbf2f9b1741f4ce60957b9a1 /test/ruby/test_system.rb
parent1cf7194e0cda863a75318bfac66cc9e3acebf534 (diff)
* test/ruby/test_{process,system}.rb (test_fallback_to_sh):
meaningless and wrong tests where /bin/sh does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_system.rb')
-rw-r--r--test/ruby/test_system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb
index 2a5107f70c..45377da063 100644
--- a/test/ruby/test_system.rb
+++ b/test/ruby/test_system.rb
@@ -101,5 +101,5 @@ class TestSystem < Test::Unit::TestCase
}
assert_equal(true, system(tmpfilename), '[ruby-core:32745]')
}
- end
+ end if File.executable?("/bin/sh")
end