mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
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:
parent
a21b899b39
commit
d59a0f4840
5 changed files with 41 additions and 0 deletions
4
mysql-test/include/not_as_root.inc
Normal file
4
mysql-test/include/not_as_root.inc
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue