summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:22 +0000
commit76a45efd38b381d1a427cdb88bcbeaac178d3094 (patch)
treee990d5d8ab9653e5a5dd955b3904ec5d8d57ec13 /test
parentbc1bfb6997c1219d60b150531b6547c966d87fdd (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/gdbm/test_gdbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 38d97c1605..a13b33a0b0 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -88,7 +88,7 @@ if defined? GDBM
def have_fork?
begin
- fork{}
+ Process.wait(fork{})
true
rescue NotImplementedError
false