summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-13 11:51:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-13 11:51:03 +0000
commit87b1d186f9456e0c8c716eb12c67bc3c6d54ac41 (patch)
treebf21d0d759787385e563908ef4d33cc696efd4b3 /test
parent00679d202d17bc629e02632801eac7c1bc7490c8 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyoptions.rb10
1 files changed, 2 insertions, 8 deletions
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)