ruby-changes:14806
From: naruse <ko1@a...>
Date: Mon, 15 Feb 2010 18:00:44 +0900 (JST)
Subject: [ruby-changes:14806] Ruby:r26668 (trunk): More generic regular exression for test.
naruse 2010-02-15 18:00:34 +0900 (Mon, 15 Feb 2010) New Revision: 26668 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26668 Log: More generic regular exression for test. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 26667) +++ test/ruby/test_rubyoptions.rb (revision 26668) @@ -328,14 +328,17 @@ def test_segv_test assert_in_out_err(["-e", "Process.kill :SEGV, $$"], "", [], %r(\A - -e:1:\s\[BUG\]\sSegmentation\sfault\n + -e:(?:1:)?\s\[BUG\]\sSegmentation\sfault\n #{ Regexp.quote(RUBY_DESCRIPTION) }\n\n --\scontrol\sframe\s----------\n (?:c:.*\n)* + (?: ---------------------------\n --\sRuby\slevel\sbacktrace\sinformation\s----------------------------------------\n -e:1:in\s`<main>'\n - -e:1:in\s`kill'\n\n + -e:1:in\s`kill'\n + )? + \n (?: --\sC\slevel\sbacktrace\sinformation\s-------------------------------------------\n (?:(?:.*\s)?\[0x\h+\]\n)*\n -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/