Skip to content

Commit

Permalink
test_gdbm.rb: reap zombie
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Jun 19, 2013
1 parent bc1bfb6 commit 76a45ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gdbm/test_gdbm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def check_size(expect, gdbm=@gdbm)

def have_fork?
begin
fork{}
Process.wait(fork{})
true
rescue NotImplementedError
false
Expand Down

0 comments on commit 76a45ef

Please sign in to comment.