diff options
author | msvensson@neptunus.(none) <> | 2006-04-24 10:21:09 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-04-24 10:21:09 +0200 |
commit | d59a0f4840efb8cec88edf0165507afb8c8bc3f1 (patch) | |
tree | 75e77f31674f92af451609b348d11a19b458a9a5 /mysql-test/include | |
parent | a21b899b3935eda9cc3680a3b8e7b740dea3b22d (diff) | |
download | mariadb-git-d59a0f4840efb8cec88edf0165507afb8c8bc3f1.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
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/not_as_root.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/not_as_root.inc b/mysql-test/include/not_as_root.inc new file mode 100644 index 00000000000..315963d824e --- /dev/null +++ b/mysql-test/include/not_as_root.inc @@ -0,0 +1,4 @@ +-- require r/not_as_root.require +disable_query_log; +select $MYSQL_TEST_ROOT as running_as_root; +enable_query_log; |