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:
parent
76a45efd38
commit
c704bb3149
1 changed files with 2 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue