summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/t/unix_socket.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 22:25:38 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 22:25:38 +0100
commit10740939eb824bbd792352f654380e258edd7675 (patch)
treea4c68f331f0470b8bd30822de5938a6552f69738 /mysql-test/suite/plugins/t/unix_socket.test
parenta91c59c2affdebb4b34c2c8000b0b1648d43046d (diff)
parent44002a34e680c79c01df879b540458c2885e97e8 (diff)
downloadmariadb-git-10740939eb824bbd792352f654380e258edd7675.tar.gz
5.5 merge
Diffstat (limited to 'mysql-test/suite/plugins/t/unix_socket.test')
-rw-r--r--mysql-test/suite/plugins/t/unix_socket.test18
1 files changed, 1 insertions, 17 deletions
diff --git a/mysql-test/suite/plugins/t/unix_socket.test b/mysql-test/suite/plugins/t/unix_socket.test
index 5869e2717c9..2c1af9fb1da 100644
--- a/mysql-test/suite/plugins/t/unix_socket.test
+++ b/mysql-test/suite/plugins/t/unix_socket.test
@@ -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;