[前][次][番号順一覧][スレッド一覧]

ruby-changes:40234

From: naruse <ko1@a...>
Date: Wed, 28 Oct 2015 11:52:42 +0900 (JST)
Subject: [ruby-changes:40234] naruse:r52315 (trunk): suppress warnings

naruse	2015-10-28 11:52:25 +0900 (Wed, 28 Oct 2015)

  New Revision: 52315

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52315

  Log:
    suppress warnings

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 52314)
+++ test/ruby/test_process.rb	(revision 52315)
@@ -1364,7 +1364,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1364
     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?],

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]