ruby-changes:54860
From: nobu <ko1@a...>
Date: Wed, 13 Feb 2019 20:51:09 +0900 (JST)
Subject: [ruby-changes:54860] nobu:r67065 (trunk): Fix rb_bug message pattern list
nobu 2019-02-13 20:51:03 +0900 (Wed, 13 Feb 2019) New Revision: 67065 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67065 Log: Fix rb_bug message pattern list "Other runtime information" section depends on platforms. Make no expectation. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 67064) +++ test/ruby/test_rubyoptions.rb (revision 67065) @@ -669,11 +669,8 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L669 module SEGVTest opts = {} - if /mswin|mingw|darwin/ =~ RUBY_PLATFORM - additional = /[\s\w\.\']*/ - else + unless /mswin|mingw/ =~ RUBY_PLATFORM opts[:rlimit_core] = 0 - additional = nil end ExecOptions = opts.freeze @@ -709,13 +706,10 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L706 )x, %r( (?:--\sOther\sruntime\sinformation\s-+\n - (?:\n\*\s.*\n - (?:\n(?:\s.*\n)+)? - )* + (?:.*\n)* )? )x, ] - ExpectedStderrList << additional if additional end def assert_segv(args, message=nil) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/