summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-04-28 14:37:40 +0200
committerunknown <msvensson@pilot.mysql.com>2008-04-28 14:37:40 +0200
commitc8aefdc7baa2234a8b3f4dbe0093a6872b0ca8b9 (patch)
tree88ba7a705aed32174f0ca700bf717a4af696ecb2 /mysql-test/mysql-test-run.pl
parent1d408ef6c51bdc8b689b21c1157d05b97ad9fcc8 (diff)
downloadmariadb-git-c8aefdc7baa2234a8b3f4dbe0093a6872b0ca8b9.tar.gz
Save files in var/tmp/ after failure
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index e5199614d86..64738492258 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3190,6 +3190,9 @@ sub after_failure ($) {
# Save the used my.cnf file
copy($path_config_file, $save_dir);
+ # Copy the tmp dir
+ copytree("$opt_vardir/tmp/", "$save_dir/tmp/");
+
if ( clusters() ) {
foreach my $cluster ( clusters() ) {
my $cluster_dir= "$opt_vardir/".$cluster->{name};