From 656c3b5422e53c7fc7fc68ebecd815f8f9ea8631 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 19 Jun 2013 18:04:16 +0000 Subject: [PATCH] collect zombies git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_notimp.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/ruby/test_notimp.rb b/test/ruby/test_notimp.rb index 2a5a12a5f3..0fad1cd66b 100644 --- a/test/ruby/test_notimp.rb +++ b/test/ruby/test_notimp.rb @@ -28,7 +28,10 @@ class TestNotImplement < Test::Unit::TestCase pid = nil } ensure - Process.kill :KILL, pid if pid + if pid + Process.kill :KILL, pid + Process.wait pid + end end if Process.respond_to?(:fork) def test_call_lchmod