1 # Include file to decrease test code duplication
3 --eval $create_statement
4 --eval $insert_statement
5 --echo # State before crash
6 --replace_result #p# #P# #sp# #SP#
7 --list_files $DATADIR/
test
11 --exec echo
"wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
15 --eval $crash_statement
16 --echo # State after crash (before recovery)
17 --replace_regex /sqlx.*\./sqlx-nnnn_nnnn./ /#p#/#P#/ /#sp#/#SP#/ /#tmp#/#TMP#/
18 --list_files $DATADIR/
test
19 --exec echo
"restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
22 --source include/wait_time_until_connected_again.inc
23 --echo # State after crash recovery
24 --replace_result #p# #P# #sp# #SP#
25 --list_files $DATADIR/
test