1--source include/have_debug.inc
2let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
3mkdir $targetdir;
4
5CREATE TABLE t1(i int) ENGINE=INNODB;
6
7# this will table and populate it, after backup has list of tables to be copied
8--let backup_fix_ddl=BEGIN NOT ATOMIC DROP TABLE test.t1;DO SLEEP(10000); END
9echo # xtrabackup backup;
10--disable_result_log
11error 1;
12exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf  --backup  --target-dir=$targetdir  --no-lock --dbug=+d,mariabackup_events;
13--enable_result_log
14rmdir $targetdir;
15