Skip to content

Commit

Permalink
experimentally add GC.start before spawn
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Oct 28, 2015
1 parent 061b504 commit aed1456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ruby/test_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,7 @@ def test_status_quit
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?],
Expand Down

0 comments on commit aed1456

Please sign in to comment.