mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
5.3-merge
This commit is contained in:
@ -1,20 +1,4 @@
|
||||
--source include/not_embedded.inc
|
||||
# If we run this as root, $USER gets authenticated as the `root' user, and we
|
||||
# get .result differences from CURRENT_USER().
|
||||
--source include/not_as_root.inc
|
||||
|
||||
# The previous check verifies that the user does not have root permissions.
|
||||
# However in some cases tests are run under a user named 'root',
|
||||
# even although this user does not have real root permissions.
|
||||
# This test should be skipped in this case, since it does not expect
|
||||
# that there are records in mysql.user where user=<username>
|
||||
if ($USER=="root") {
|
||||
skip Cannot be run by user named 'root' even if it does not have all privileges;
|
||||
}
|
||||
|
||||
if (!$AUTH_SOCKET_SO) {
|
||||
skip No auth_socket plugin;
|
||||
}
|
||||
--source include/have_unix_socket.inc
|
||||
|
||||
if (!$USER) {
|
||||
skip USER variable is undefined;
|
||||
|
Reference in New Issue
Block a user