diff options
author | Rasmus Johansson <razze@iki.fi> | 2018-08-24 12:33:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 12:33:05 +0300 |
commit | e560f2f342aeb2d72937e9c6f5a4fcbfecc1c35e (patch) | |
tree | f4bd6560c2d39b3fe98f1c922beffb08b8197ad3 | |
parent | 064ba8cc9f429fbf403f8d2c564e5f59f6799df9 (diff) | |
parent | 1b1b9413854d4aaf21d8eaf529c23567eb5e0daf (diff) | |
download | mariadb-git-e560f2f342aeb2d72937e9c6f5a4fcbfecc1c35e.tar.gz |
Merge pull request #846 from shinnok/bb-5.5-mtr-shm
MDEV-17022: check if mtr --mem location is writeable
-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); |