From a5903ed9f322ade1a3bab7e6c7ddc8236b7b3f05 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 14 Sep 2005 13:12:30 +0200 Subject: [PATCH] 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). --- mysql-test/lib/mtr_report.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl index 868653afaa4..6db68524db7 100644 --- a/mysql-test/lib/mtr_report.pl +++ b/mysql-test/lib/mtr_report.pl @@ -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"; } }