diff options
author | unknown <msvensson@neptunus.(none)> | 2006-04-24 10:21:09 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-04-24 10:21:09 +0200 |
commit | 1d16bc69cffa0536f82d5275bed93658b0f9f286 (patch) | |
tree | 75e77f31674f92af451609b348d11a19b458a9a5 /mysql-test/t/rpl_rotate_logs.test | |
parent | e33031e76a3b3e6914ce00aff9712a408d9e41cf (diff) | |
download | mariadb-git-1d16bc69cffa0536f82d5275bed93658b0f9f286.tar.gz |
Bug#17002 mysql-test-run as root user
- Add test to see if tests are running with root permissions
- Disables tests that uses chmod if that is the case
mysql-test/mysql-test-run.pl:
Add test to check if mysql-test-run is run with root permission.
Set environment variable MYSQL_TEST_ROOT to 'YES' or 'NO'.
mysql-test/t/information_schema.test:
Disable test if running as root
mysql-test/t/rpl_rotate_logs.test:
Disable test if running as root.
mysql-test/include/not_as_root.inc:
New BitKeeper file ``mysql-test/include/not_as_root.inc''
mysql-test/r/not_as_root.require:
New BitKeeper file ``mysql-test/r/not_as_root.require''
Diffstat (limited to 'mysql-test/t/rpl_rotate_logs.test')
-rw-r--r-- | mysql-test/t/rpl_rotate_logs.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_rotate_logs.test b/mysql-test/t/rpl_rotate_logs.test index 77a8fb7d9a4..ee49f92910a 100644 --- a/mysql-test/t/rpl_rotate_logs.test +++ b/mysql-test/t/rpl_rotate_logs.test @@ -1,3 +1,6 @@ +# This test uses chmod, can't be run with root permissions +-- source include/not_as_root.inc + # # Test is run with max_binlog_size=2048 to force automatic rotation of the # binary log |