config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/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 : //home/usr.opt/mysql57/mysql-test/suite/x/t/message_empty_payload.test

 ## Preamble
--source ../include/xplugin_preamble.inc

## TEST STARTS HERE
--write_file $MYSQL_TMP_DIR/validate_empty_message.tmp
-->hexsend 00000000
-->expecterror 5000
-->recvtype Mysqlx.Error
-->peerdisc 2000 2000
EOF

--write_file $MYSQL_TMP_DIR/validate_empty_message_on_valid_session.tmp
-->macro Verify_status	%VARIABLE_NAME%	%EXPECTED_VALUE%
-->quiet
-->echo Verify [%VARIABLE_NAME% session variable should be have %EXPECTED_VALUE% as value]
-->stmtsql SHOW STATUS LIKE %VARIABLE_NAME%
-->recvtovar %VALUE% Value
-->assert_eq %EXPECTED_VALUE%	%VALUE%
-->noquiet
-->endmacro

# Check session status variable
-->callmacro Verify_status	'Mysqlx_sessions_fatal_error'	2
EOF

# Set the timeout for connection to 300 seconds
# which is must be greater than the peerdisc/timeout
SET GLOBAL mysqlx_connect_timeout = 300;

--exec $MYSQLXTEST -u root  --file=$MYSQL_TMP_DIR/validate_empty_message.tmp 2>&1
--exec $MYSQLXTEST -u root  --file=$MYSQL_TMP_DIR/validate_empty_message.tmp --no-auth 2>&1
--exec $MYSQLXTEST -u root  --file=$MYSQL_TMP_DIR/validate_empty_message_on_valid_session.tmp 2>&1

--let $wait_condition= SELECT variable_value = 2 FROM performance_schema.global_status WHERE variable_name LIKE 'Mysqlx_sessions_fatal_error'
--source include/wait_condition_or_abort.inc

## Postamble
--remove_file $MYSQL_TMP_DIR/validate_empty_message.tmp
--remove_file $MYSQL_TMP_DIR/validate_empty_message_on_valid_session.tmp

uninstall plugin mysqlx;

Man Man