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

ruby-changes:39067

From: nobu <ko1@a...>
Date: Sun, 5 Jul 2015 11:03:20 +0900 (JST)
Subject: [ruby-changes:39067] nobu:r51148 (trunk): test_process.rb: reap pid

nobu	2015-07-05 11:03:11 +0900 (Sun, 05 Jul 2015)

  New Revision: 51148

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

  Log:
    test_process.rb: reap pid
    
    * test/ruby/test_process.rb (test_exec_fd_3_redirect): should reap
      the grandchild process, in common.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 51147)
+++ test/ruby/test_process.rb	(revision 51148)
@@ -2048,6 +2048,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L2048
         a[1].write('.')
         assert_equal ".", b[0].read(1)
       ensure
+        Process.wait(pid) if pid
         a.each(&:close) if a
         b.each(&:close) if b
       end

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

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