diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 07:47:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 07:47:24 +0000 |
commit | c704bb3149dab22bb41f0c5061a0b5df7f525aa3 (patch) | |
tree | f67013ed1dbeb397cef27c9df000fbfc630008c7 /test/rinda | |
parent | 76a45efd38b381d1a427cdb88bcbeaac178d3094 (diff) |
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
Diffstat (limited to 'test/rinda')
-rw-r--r-- | test/rinda/test_rinda.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 6ad9e7cdd5..e16af2e90c 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -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? |