From d3b3778477be60251a41b8ef5b25385e5575fae3 Mon Sep 17 00:00:00 2001 From: Leonard Zhou Date: Tue, 9 Dec 2008 18:52:10 +0800 Subject: [PATCH] BUG#27477 Remove tmp-directory on MTR start mysql-test/mysql-test-run.pl: Remove tmp-directory on MTR start --- mysql-test/mysql-test-run.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index b342421ca2e..20a0b639e84 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2386,6 +2386,9 @@ sub remove_stale_vardir () { mtr_verbose("Removing $opt_vardir/"); mtr_rmtree("$opt_vardir/"); } + # Remove the "tmp" dir + mtr_verbose("Removing $opt_tmpdir/"); + mtr_rmtree("$opt_tmpdir/"); } #