2
# Due to "Bug#18474 Unlistable directories yield no info from
3
# information_schema, part2" this test can't be run on Window with our
4
# current test framework. When "chmod -r" is done within cygwin the
5
# MySQL Server can still read the directory.
6
# Manual testing shows the functionalty to skip unlistable directories
9
--source include/not_windows.inc
11
# This test uses chmod, can't be run with root permissions
12
-- source include/not_as_root.inc
16
# Bug #15851 Unlistable directories yield no info from information_schema
18
create database mysqltest;
19
create table mysqltest.t1(a int);
20
chmod 0000 $MYSQLTEST_VARDIR/master-data/mysqltest;
21
select table_schema from information_schema.tables where table_schema='mysqltest';
22
chmod 0777 $MYSQLTEST_VARDIR/master-data/mysqltest;
23
drop database mysqltest;