List:Commits« Previous MessageNext Message »
From:Sven Sandberg Date:May 19 2010 9:41am
Subject:bzr commit into mysql-5.1-bugteam branch (sven.sandberg:3387) Bug#52987
View as plain text  
#At file:///home/sven/bzr/b52987-mysqldump_umask/5.1-bugteam/ based on revid:sergey.glukhov@stripped

 3387 Sven Sandberg	2010-05-19
      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.

    modified:
      mysql-test/t/mysqldump.test
=== modified file 'mysql-test/t/mysqldump.test'
--- a/mysql-test/t/mysqldump.test	2010-05-06 20:41:37 +0000
+++ b/mysql-test/t/mysqldump.test	2010-05-19 09:41:54 +0000
@@ -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
 


Attachment: [text/bzr-bundle] bzr/sven.sandberg@sun.com-20100519094154-4tk48qy3i08jsufh.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (sven.sandberg:3387) Bug#52987Sven Sandberg19 May