1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Clarified the error message printed when mtr's test cleanup check fails.

mysql-test/mysql-test-run.pl:
  Clarified error message printed when test cleanup check fails.
This commit is contained in:
Sven Sandberg
2008-11-25 17:51:02 +01:00
parent d4c246f7f9
commit 82efca8d6b

View File

@ -2810,8 +2810,12 @@ sub check_testcase($$)
# Test failed, grab the report mysqltest has created # Test failed, grab the report mysqltest has created
my $report= mtr_grab_file($err_file); my $report= mtr_grab_file($err_file);
$tinfo->{check}.= $tinfo->{check}.=
"\nThe check of testcase '$tname' failed, this is the\n". "\nMTR's internal check of the test case '$tname' failed.
"diff between before and after:\n"; This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up.
This is the diff of the states of the servers before and after the
test case was executed:\n";
$tinfo->{check}.= $report; $tinfo->{check}.= $report;
# Check failed, mark the test case with that info # Check failed, mark the test case with that info