diff options
-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) |