diff options
author | Teodor Mircea Ionita <teodor@mariadb.org> | 2018-08-16 16:39:50 +0300 |
---|---|---|
committer | Teodor Mircea Ionita <teodor@mariadb.org> | 2018-08-20 11:06:13 +0300 |
commit | 1b1b9413854d4aaf21d8eaf529c23567eb5e0daf (patch) | |
tree | 5ab96a06cc7fcd5121de167cc32873142ac14086 /mysql-test/mysql-test-run.pl | |
parent | 1b797e9e6308913c2472f3e04ad253e95a35d59f (diff) | |
download | mariadb-git-1b1b9413854d4aaf21d8eaf529c23567eb5e0daf.tar.gz |
MDEV-17022: check if mtr --mem location is writeable
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index ba49d88a85f..ade3f99104e 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1457,7 +1457,7 @@ sub command_line_setup { foreach my $fs (@tmpfs_locations) { - if ( -d $fs ) + if ( -d $fs && -w $fs ) { my $template= "var_${opt_build_thread}_XXXX"; $opt_mem= tempdir( $template, DIR => $fs, CLEANUP => 0); |