summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 02:58:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 02:58:53 +0000
commite51a9b49f1ded288ee00732f0d7d4af01764a793 (patch)
tree8f94a29a39ce1e6703d7af81166284222c53c901 /test
parent2027a05247456879928fdc2f47e9a8aa0079becd (diff)
test_process.rb: fix parameters
* test/ruby/test_process.rb (test_{,a}spawn_too_long_path): fix missing parameters in r38934. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_process.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 6616955502..9ee7bdfd93 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1380,15 +1380,15 @@ class TestProcess < Test::Unit::TestCase
def test_spawn_too_long_path
bug4314 = '[ruby-core:34842]'
- assert_fail_too_long_path(bug4314)
+ assert_fail_too_long_path("a", bug4314)
end
def test_aspawn_too_long_path
bug4315 = '[ruby-core:34833]'
- assert_fail_too_long_path(bug4315)
+ assert_fail_too_long_path("a|", bug4315)
end
- def assert_fail_too_long_path(cmd, mesg = nil)
+ def assert_fail_too_long_path(cmd, mesg)
size = 1_000_000 / cmd.size
exs = [Errno::ENOENT]
exs << Errno::E2BIG if defined?(Errno::E2BIG)