Commit a5903ed9 authored by unknown's avatar unknown
Browse files

Minor output format change of the Perl test suite script (align with the shell script).


mysql-test/lib/mtr_report.pl:
  Make the Perl test script output identical to that of the (old) shell script,
  so that reported differences compare as equal strings (for automatic analysis).
parent 02fce1c3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ sub mtr_show_failed_diff ($) {
sub mtr_report_test_name ($) {
  my $tinfo= shift;

  printf "%-31s ", $tinfo->{'name'};
  printf "%-30s ", $tinfo->{'name'};
}

sub mtr_report_test_skipped ($) {
@@ -122,13 +122,13 @@ sub mtr_report_test_failed ($) {
  # we should write out into $::path_timefile when the error occurs.
  if ( -f $::path_timefile )
  {
    print "Errors are (from $::path_timefile) :\n";
    print "\nErrors are (from $::path_timefile) :\n";
    print mtr_fromfile($::path_timefile); # FIXME print_file() instead
    print "\n(the last lines may be the most important ones)\n";
  }
  else
  {
    print "Unexpected termination, probably when starting mysqld\n";
    print "\nUnexpected termination, probably when starting mysqld\n";
  }
}