diff options
author | msvensson@pilot.blaudden <> | 2007-02-28 13:47:59 +0100 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-02-28 13:47:59 +0100 |
commit | 6ea41f355c33fea70af640c1af44c4678a5e1578 (patch) | |
tree | ca30cadfd211495dcbf4f21474054efcad4ea7a7 /mysql-test/mysql-test-run.pl | |
parent | 44c56e35b62a62b319e1ad194785bd9d934ddecf (diff) | |
parent | c0da93cd972bd54d6f10331ed469f7bb1a70b157 (diff) | |
download | mariadb-git-6ea41f355c33fea70af640c1af44c4678a5e1578.tar.gz |
Merge pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index acb101a789e..5932aa01646 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2114,6 +2114,16 @@ sub remove_stale_vardir () { mtr_verbose("Removing $opt_vardir/"); rmtree("$opt_vardir/"); } + + if ( $opt_mem ) + { + # A symlink from var/ to $opt_mem will be set up + # remove the $opt_mem dir to assure the symlink + # won't point at an old directory + mtr_verbose("Removing $opt_mem"); + rmtree($opt_mem); + } + } else { |