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

ruby-changes:29367

From: nobu <ko1@a...>
Date: Wed, 19 Jun 2013 16:47:49 +0900 (JST)
Subject: [ruby-changes:29367] nobu:r41420 (trunk): test_rinda.rb: reap zombie

nobu	2013-06-19 16:47:24 +0900 (Wed, 19 Jun 2013)

  New Revision: 41420

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

  Log:
    test_rinda.rb: reap zombie
    
    * test/rinda/test_rinda.rb (test_take_bug_8215): reap zombie.

  Modified files:
    trunk/test/rinda/test_rinda.rb

Index: test/rinda/test_rinda.rb
===================================================================
--- test/rinda/test_rinda.rb	(revision 41419)
+++ test/rinda/test_rinda.rb	(revision 41420)
@@ -518,6 +518,8 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L518
     signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
     Process.kill(signal, write) if write && status.nil?
     Process.kill(signal, take)  if take
+    Process.wait(write) if write && status.nil?
+    Process.wait(take)  if take
   end
 
   def have_fork?

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

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