From 55e7ded5c155277d2846ee03d76b206e3428ffb4 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 27 Oct 2015 20:47:17 +0000 Subject: dumping core may take too much time for CI git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/ruby/test_process.rb') diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 6512ef2dd7..dd4c2c2a51 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1364,7 +1364,8 @@ class TestProcess < Test::Unit::TestCase return unless Signal.list.include?("QUIT") with_tmpchdir do - s = assert_in_out_err([], "Process.kill(:SIGQUIT, $$);sleep 30", //, //) + cur, max = Process.getrlimit(:CORE) + s = assert_in_out_err([], "Process.kill(:SIGQUIT, $$);sleep 30", //, //, :rlimit_core=>[0,max]) assert_equal([false, true, false, nil], [s.exited?, s.signaled?, s.stopped?, s.success?], "[s.exited?, s.signaled?, s.stopped?, s.success?]") -- cgit v1.2.3