[前][次][番号順一覧][スレッド一覧]

ruby-changes:29369

From: nobu <ko1@a...>
Date: Wed, 19 Jun 2013 16:48:00 +0900 (JST)
Subject: [ruby-changes:29369] nobu:r41419 (trunk): test_gdbm.rb: reap zombie

nobu	2013-06-19 16:47:22 +0900 (Wed, 19 Jun 2013)

  New Revision: 41419

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41419

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

  Modified files:
    trunk/test/gdbm/test_gdbm.rb

Index: test/gdbm/test_gdbm.rb
===================================================================
--- test/gdbm/test_gdbm.rb	(revision 41418)
+++ test/gdbm/test_gdbm.rb	(revision 41419)
@@ -88,7 +88,7 @@ if defined? GDBM https://github.com/ruby/ruby/blob/trunk/test/gdbm/test_gdbm.rb#L88
 
     def have_fork?
       begin
-        fork{}
+        Process.wait(fork{})
         true
       rescue NotImplementedError
         false

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]