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?],