1 # Write file to make mysql-test-run.pl expect the "crash", but don't start
2 # it until it's told to
3 --let $_server_id= `SELECT @@server_id`
4 --let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.$_server_id.expect
5 --exec echo
"wait" > $_expect_file_name
7 # Send shutdown to the connected server and give
8 # it 10 seconds to die before zapping it
11 # Write file to make mysql-test-run.pl start up the server again
12 --exec echo
"restart: --innodb-read-only " > $_expect_file_name
17 # Call script that will poll the server waiting for it to be back online again
18 --source include/wait_until_connected_again.inc
20 # Turn off reconnect again