diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-13 11:51:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-13 11:51:03 +0000 |
commit | 87b1d186f9456e0c8c716eb12c67bc3c6d54ac41 (patch) | |
tree | bf21d0d759787385e563908ef4d33cc696efd4b3 /test/ruby | |
parent | 00679d202d17bc629e02632801eac7c1bc7490c8 (diff) | |
download | ruby-87b1d186f9456e0c8c716eb12c67bc3c6d54ac41.tar.gz |
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/ruby')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 10 |
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) |