diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 18:04:16 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 18:04:16 +0000 |
commit | 656c3b5422e53c7fc7fc68ebecd815f8f9ea8631 (patch) | |
tree | 884cd72ab1b3f0ac69cb49bdf75ea4dd58f630b3 /test/ruby/test_notimp.rb | |
parent | 2fe89ab6182bf77f43cad37e79c96168d97aad14 (diff) |
collect zombies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_notimp.rb')
-rw-r--r-- | test/ruby/test_notimp.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |