[ruby-cvs:55118] normal:r47968 (trunk): test/ruby/test_process.rb: avoid killing wrong parent

normal at ruby-lang.org normal at ruby-lang.org
Thu Oct 16 09:06:10 JST 2014


normal	2014-10-16 09:06:09 +0900 (Thu, 16 Oct 2014)

  New Revision: 47968

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

  Log:
    test/ruby/test_process.rb: avoid killing wrong parent
    
    We must capture intended target PID before forking, since
    Process.ppid may change if parent dies (e.g. due to timeout)

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_process.rb


More information about the ruby-cvs mailing list