mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_rubyoptions.rb: clean crash log
* test/ruby/test_rubyoptions.rb (test_segv_loaded_features): clean crash log on OS X after intentional segv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9787723785
commit
5020101829
1 changed files with 4 additions and 0 deletions
|
@ -587,6 +587,10 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||
nil,
|
||||
opts)
|
||||
end
|
||||
if signo = status.termsig
|
||||
sleep 0.1
|
||||
EnvUtil.diagnostic_reports(Signal.signame(signo), EnvUtil.rubybin, status.pid, Time.now)
|
||||
end
|
||||
assert_not_predicate(status, :success?, "segv but success #{bug7402}")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue