ruby-changes:40245
From: naruse <ko1@a...>
Date: Thu, 29 Oct 2015 00:11:25 +0900 (JST)
Subject: [ruby-changes:40245] naruse:r52326 (trunk): experimentally add GC.start before spawn
naruse 2015-10-29 00:11:16 +0900 (Thu, 29 Oct 2015) New Revision: 52326 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52326 Log: experimentally add GC.start before spawn Modified files: trunk/test/ruby/test_process.rb Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 52325) +++ test/ruby/test_process.rb (revision 52326) @@ -1364,6 +1364,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1364 return unless Signal.list.include?("QUIT") with_tmpchdir do + GC.start s = assert_in_out_err([], "Process.kill(:SIGQUIT, $$);sleep 30", //, //, rlimit_core: 0) assert_equal([false, true, false, nil], [s.exited?, s.signaled?, s.stopped?, s.success?], -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/