# Write file to make mysql-test-run.pl expect crash and restart--exececho"restart">$MYSQLTEST_VARDIR/tmp/mysqld.1.expect--exec$MYSQLADMIN--defaults-file=$MYSQLTEST_VARDIR/my.cnfshutdown# Call script that will poll the server waiting for it to be gone--sourceinclude/wait_until_disconnected.inc# Turn on reconnect--enable_reconnect# Call script that will poll the server waiting for it to be back online again--sourceinclude/wait_until_connected_again.inc