aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 15:08:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-23 15:08:50 +0000
commit5dddfe2b90e714386d7e050bc3161d60483729ea (patch)
tree04ab80f9ca3bfd2adc1ff0c17fde83ad52ca61b2
parent5e648b8efe0e835d611973505a087a104425b2d4 (diff)
downloadruby-5dddfe2b90e714386d7e050bc3161d60483729ea.tar.gz
test_command_processor.rb: add suffix
* test/shell/test_command_processor.rb (test_option_type): Windows needs a suffix to execute. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/shell/test_command_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/test_command_processor.rb b/test/shell/test_command_processor.rb
index 9abc75d5e6..06b5ecc1d9 100644
--- a/test/shell/test_command_processor.rb
+++ b/test/shell/test_command_processor.rb
@@ -68,7 +68,7 @@ class TestShell::CommandProcessor < Test::Unit::TestCase
end
def test_option_type
- name = 'foo'
+ name = 'foo.cmd'
path = File.join(@tmpdir, name)
open(path, 'w', 0755) {}