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
This commit is contained in:
msvensson@neptunus.(none) 2006-04-24 10:21:09 +02:00
commit d59a0f4840
5 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,4 @@
-- require r/not_as_root.require
disable_query_log;
select $MYSQL_TEST_ROOT as running_as_root;
enable_query_log;