summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 02:52:25 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 02:52:25 +0000
commita8919bc0a650463ed98a3e2f24fb94236e35effc (patch)
tree913a81d008f3b0bb06d2e71ae4a52ef40cb27dd0 /test/ruby/test_process.rb
parente5747f3e3cc18742a34696425679071a6e3a6b98 (diff)
suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index dd4c2c2a51..8318e4e619 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1364,7 +1364,7 @@ class TestProcess < Test::Unit::TestCase
return unless Signal.list.include?("QUIT")
with_tmpchdir do
- cur, max = Process.getrlimit(:CORE)
+ _, max = Process.getrlimit(:CORE)
s = assert_in_out_err([], "Process.kill(:SIGQUIT, $$);sleep 30", //, //, :rlimit_core=>[0,max])
assert_equal([false, true, false, nil],
[s.exited?, s.signaled?, s.stopped?, s.success?],