mysql5/mysql-5.7.27/mysql-test/t/mysqlbinlog_debug.test

26 lines
981 B
Plaintext

# This file is created to add test cases for mysqlbinlog tool
# which can be executed only against debug compiled mysqlbinlog
# tool.
--source include/mysqlbinlog_have_debug.inc
-- source include/force_binlog_format_statement.inc
--echo #
--echo # Bug#18742916 : MYSQLBINLOG --RAW DOES NOT CHECK FOR ERRORS
--echo #
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--error 1
--exec $MYSQL_BINLOG -#d,simulate_result_file_write_error_for_FD_event --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT -r$MYSQLTEST_VARDIR/tmp/ master-bin.000001 2>&1
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--error 1
--exec $MYSQL_BINLOG -#d,simulate_result_file_write_error --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT -r$MYSQLTEST_VARDIR/tmp/ master-bin.000001 2>&1
# Cleanup
--remove_file $MYSQLTEST_VARDIR/tmp/master-bin.000001
--echo
--echo End of tests
--source include/restore_default_binlog_format.inc