test_gdbm.rb: reap zombie

* test/gdbm/test_gdbm.rb (TestGDBM#have_fork): reap zombie

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

View File

@ -88,7 +88,7 @@ if defined? GDBM
def have_fork?
begin
fork{}
Process.wait(fork{})
true
rescue NotImplementedError
false