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:
parent
bc1bfb6997
commit
76a45efd38
@ -88,7 +88,7 @@ if defined? GDBM
|
||||
|
||||
def have_fork?
|
||||
begin
|
||||
fork{}
|
||||
Process.wait(fork{})
|
||||
true
|
||||
rescue NotImplementedError
|
||||
false
|
||||
|
Loading…
x
Reference in New Issue
Block a user