diff options
author | Sven Sandberg <sven.sandberg@sun.com> | 2010-05-20 17:38:01 +0200 |
---|---|---|
committer | Sven Sandberg <sven.sandberg@sun.com> | 2010-05-20 17:38:01 +0200 |
commit | 37b02cd7d99278aec20e793c79ed105e99b2f7e7 (patch) | |
tree | 622696d0dbf67003d339194a22928f17353dbf46 /mysql-test | |
parent | b8af4ab216ea6efd433ebdd2da4911978bd22d88 (diff) | |
download | mariadb-git-37b02cd7d99278aec20e793c79ed105e99b2f7e7.tar.gz |
BUG#52987: mysqldump fails if umask=0077
Problem: The test case mysqldump reads a file that must
be world-readable. The test did not force the file to be
world-readable, so if the tree was branched with a umask
of 0077, the test would fail.
Fix: chmod the file.
mysql-test/t/mysqldump.test:
Added chmod so that the file is guaranteed to be world-readable.
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/mysqldump.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test index 0bf9916dcd5..9246d488dd8 100644 --- a/mysql-test/t/mysqldump.test +++ b/mysql-test/t/mysqldump.test @@ -1983,6 +1983,7 @@ drop table if exists `load`; create table `load` (a varchar(255)); --copy_file std_data/words.dat $MYSQLTEST_VARDIR/tmp/load.txt +--chmod 0644 $MYSQLTEST_VARDIR/tmp/load.txt --exec $MYSQL_IMPORT --ignore test $MYSQLTEST_VARDIR/tmp/load.txt |