From 87b1d186f9456e0c8c716eb12c67bc3c6d54ac41 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 13 Feb 2019 11:51:03 +0000 Subject: Fix rb_bug message pattern list "Other runtime information" section depends on platforms. Make no expectation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index c8108bc313..640aa0fb29 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -669,11 +669,8 @@ class TestRubyOptions < Test::Unit::TestCase 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::TestCase )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) -- cgit v1.2.3