From aed1456a3b24190a41bb12b089ebccb7a17e0f45 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 28 Oct 2015 15:11:16 +0000 Subject: experimentally add GC.start before spawn git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 177af17724..e12b03801b 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1364,6 +1364,7 @@ class TestProcess < Test::Unit::TestCase 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?], -- cgit v1.2.3