config root man

Current Path : /compat/linux/proc/self/root/home/usr.opt/mysql57/mysql-test/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/home/usr.opt/mysql57/mysql-test/t/test_security_context.test

--source include/not_embedded.inc

# Has to be loaded here since it needs to be loaded post-flush-privleges
--replace_regex /\.dll/.so/
eval INSTALL PLUGIN test_security_context SONAME '$TEST_SECURITY_CONTEXT';

SELECT PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS
  WHERE PLUGIN_NAME='test_security_context';

SET @@test_security_context_get_field = "user", @@test_security_context_get_value = "root";
SELECT "OK";

SET @@test_security_context_get_field = "user", @@test_security_context_get_value = "root-err";
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
--error ER_AUDIT_API_ABORT
SELECT "FAIL";

SET @@test_security_context_get_field = "host", @@test_security_context_get_value = "localhost";
SELECT "OK";

SET @@test_security_context_get_field = "ip";
SELECT "OK";

SET @@test_security_context_get_field = "priv_user", @@test_security_context_get_value = "root";
SELECT "OK";

SET @@test_security_context_get_field = "priv_host", @@test_security_context_get_value = "localhost";
SELECT "OK";

SET @@test_security_context_get_field = "sec_ctx_test";
SELECT "OK";

UNINSTALL PLUGIN test_security_context;  

Man Man