--source include/have_debug_sync.inc # This test checks the behavior of InnoDB when dirty pages are found # after closing the redo log systems and page cleaners CREATE TABLE t1 (c1 INT); INSERT INTO t1 VALUES (1); call mtr.add_suppression("\\[InnoDB\\] \\[FATAL\\] Page still fixed or dirty at shutdown."); call mtr.add_suppression("\\[InnoDB\\] Assertion failure.*ib::fatal triggered"); call mtr.add_suppression("Attempting backtrace"); SET GLOBAL DEBUG="+d,simulate_dirty_page_at_shutdown"; --echo # Shutdown the server --source include/shutdown_mysqld.inc --echo # Search the server error logs for the FATAL message --let SEARCH_PATTERN = Page still fixed or dirty at shutdown --let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err --source include/search_pattern.inc --echo # Start the server --source include/start_mysqld.inc DROP TABLE t1;