Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
10.0.1
-
None
-
None
-
None
Description
MTR testing framework leaves temporary files on the disk every time it has to use *.rdiff files. The following patch fixes that:
--- a/mysql-test/mysql-test-run.pl
|
+++ b/mysql-test/mysql-test-run.pl
|
@@ -4345,6 +4345,11 @@ sub run_testcase ($$) {
|
{
|
my $res= $test->exit_status();
|
|
+ if ($tinfo->{'result_file'} && ($tinfo->{'result_file'} =~ /\.result~$/))
|
+ {
|
+ unlink $tinfo->{'result_file'};
|
+ }
|
+
|
if ($res == 0 and $opt_warnings and check_warnings($tinfo) )
|
{
|
# Test case suceeded, but it has produced unexpected
|