mtr: move if(unix_socket) test to include/have_unix_socket.inc

This commit is contained in:
Sergei Golubchik 2014-03-13 16:34:34 +01:00
parent 627005d825
commit 18830d78a3
2 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,10 @@
--source include/not_embedded.inc
if (!$AUTH_SOCKET_SO) {
skip No unix_socket plugin;
}
if (!$USER) {
skip USER variable is undefined;
}

View file

@ -1,8 +1,4 @@
--source include/not_embedded.inc
if (!$AUTH_SOCKET_SO) {
skip No auth_socket plugin;
}
--source include/have_unix_socket.inc
let $plugindir=`SELECT @@global.plugin_dir`;