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
This commit is contained in:
naruse 2015-10-27 20:47:17 +00:00
parent 75a9a6ee22
commit 2d53edd923
2 changed files with 9 additions and 2 deletions

View file

@ -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?]")