summaryrefslogtreecommitdiff
path: root/test
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
commitebf1da9de35cd040df9d275fdb753ef2935906f8 (patch)
tree04ab80f9ca3bfd2adc1ff0c17fde83ad52ca61b2 /test
parentaf4ba5c12a54cff78cb46832132e7dc8c4fd86cc (diff)
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
Diffstat (limited to 'test')
-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) {}