diff --git a/ChangeLog b/ChangeLog index a1d6ed0701..4f749a9439 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat May 31 12:02:23 2008 Tanaka Akira + + * test/ruby/envutil.rb (assert_normal_exit): show pid when fail. + Fri May 30 23:55:56 2008 Kazuhiro NISHIYAMA * test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION. diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index acaed7710d..163e77d576 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -92,11 +92,13 @@ module Test sigdesc = "SIG#{signame} (#{sigdesc})" end if msg.empty? - full_message = build_message(message, "killed by ?", + full_message = build_message(message, "pid ? killed by ?", + pid, AssertionMessage::Literal.new(sigdesc)) else msg << "\n" if /\n\z/ !~ msg - full_message = build_message(message, "killed by ?\n?", + full_message = build_message(message, "pid ? killed by ?\n?", + pid, AssertionMessage::Literal.new(sigdesc), AssertionMessage::Literal.new(msg.gsub(/^/, '| '))) end