~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/t/information_schema_chmod.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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
 
7
# works on windows
 
8
#
 
9
--source include/not_windows.inc
 
10
 
 
11
# This test uses chmod, can't be run with root permissions
 
12
-- source include/not_as_root.inc
 
13
 
 
14
 
 
15
#
 
16
# Bug #15851 Unlistable directories yield no info from information_schema
 
17
#
 
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;