ruby-changes:36779
From: nobu <ko1@a...>
Date: Tue, 16 Dec 2014 13:39:33 +0900 (JST)
Subject: [ruby-changes:36779] nobu:r48860 (trunk): test_rubyoptions.rb: clean crash log
nobu 2014-12-16 13:39:17 +0900 (Tue, 16 Dec 2014) New Revision: 48860 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48860 Log: test_rubyoptions.rb: clean crash log * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): clean crash log on OS X after intentional segv. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 48859) +++ test/ruby/test_rubyoptions.rb (revision 48860) @@ -587,6 +587,10 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L587 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/