1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_rinda.rb: reap zombie

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-06-19 07:47:24 +00:00
parent 76a45efd38
commit c704bb3149

View file

@ -518,6 +518,8 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
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?