mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Put the printf of failed ratio on itäs only line, printf was tricked
into thinking the escaped % + w was a format specifier
This commit is contained in:
parent
3c0a746633
commit
ea80f1a07a
1 changed files with 3 additions and 2 deletions
|
|
@ -203,8 +203,9 @@ sub mtr_report_stats ($) {
|
|||
else
|
||||
{
|
||||
my $ratio= $tot_passed * 100 / $tot_tests;
|
||||
printf "Failed $tot_failed/$tot_tests tests, " .
|
||||
"%.2f\% were successful.\n\n", $ratio;
|
||||
print "Failed $tot_failed/$tot_tests tests, ";
|
||||
printf("%.2f", $ratio);
|
||||
print "\% were successful.\n\n";
|
||||
print
|
||||
"The log files in var/log may give you some hint\n",
|
||||
"of what went wrong.\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue