summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 15:11:16 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 15:11:16 +0000
commitaed1456a3b24190a41bb12b089ebccb7a17e0f45 (patch)
tree32954fc884478b21b337f2451dc20f13d517bc84 /test/ruby/test_process.rb
parent061b5041695899b63ea0c9481f314a0e2cc188c1 (diff)
experimentally add GC.start before spawn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb1
1 files changed, 1 insertions, 0 deletions
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?],