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

ruby-changes:39694

From: nobu <ko1@a...>
Date: Sun, 6 Sep 2015 15:00:25 +0900 (JST)
Subject: [ruby-changes:39694] nobu:r51775 (trunk): test_process.rb: suppress warnings

nobu	2015-09-06 15:00:12 +0900 (Sun, 06 Sep 2015)

  New Revision: 51775

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

  Log:
    test_process.rb: suppress warnings
    
    * test/ruby/test_process.rb (test_exec_close_reserved_fd):
      suppress "cannot close fd before spawn" warnings.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 51774)
+++ test/ruby/test_process.rb	(revision 51775)
@@ -2094,6 +2094,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L2094
       (3..6).each do |i|
         ret = run_in_child(<<-INPUT)
           begin
+            $VERBOSE = nil
             Process.exec('#{cmd}', 'dummy', #{i} => :close)
           rescue SystemCallError
           end

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

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