Current Path : /usr/opt/mysql57/mysql-test/suite/x/t/macros/ |
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 |
Current File : //usr/opt/mysql57/mysql-test/suite/x/t/macros/assert_status_variable.macro |
-->macro Assert_status_variable %VARIABLE_NAME% %EXPECTED_VALUE% -->stmtsql SHOW STATUS LIKE '%VARIABLE_NAME%'; -->recvtovar %VARIABLE_VALUE% Value -->echo Verify [Status variable "%VARIABLE_NAME%" needs to have a value of %EXPECTED_VALUE%] -->assert_eq %EXPECTED_VALUE% %VARIABLE_VALUE% -->endmacro -->macro Assert_recived_notices -->received Mysqlx.Notice.Warning %MYSQLXTEST_NO_OF_WARNINGS% -->received Mysqlx.Notice.Frame %MYSQLXTEST_NO_OF_OTHER% -->varinc %MYSQLXTEST_NO_OF_OTHER% -%MYSQLXTEST_NO_OF_WARNINGS% -->callmacro Assert_status_variable Mysqlx_notice_other_sent %MYSQLXTEST_NO_OF_OTHER% -->callmacro Assert_status_variable Mysqlx_notice_warning_sent %MYSQLXTEST_NO_OF_WARNINGS% -->endmacro