Skip to content

Commit 5296aa8

Browse files
committed
MDEV-18663 Tests : use --core-file if mariabackup output is redirected to a file
This is done in order to help debugging buildbot failures.
1 parent 1005376 commit 5296aa8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mysql-test/suite/mariabackup/encrypted_page_compressed.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ echo # xtrabackup backup;
3636
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
3737
let $backuplog=$MYSQLTEST_VARDIR/tmp/backup.log;
3838
--error 1
39-
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir > $backuplog;
39+
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --core-file > $backuplog;
4040
--enable_result_log
4141

4242
--let SEARCH_PATTERN=Database page corruption detected.*

mysql-test/suite/mariabackup/encrypted_page_corruption.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let $backuplog=$MYSQLTEST_VARDIR/tmp/backup.log;
5151

5252
--disable_result_log
5353
--error 1
54-
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --extended-validation --target-dir=$targetdir > $backuplog;
54+
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --extended-validation --target-dir=$targetdir --core-file > $backuplog;
5555
--enable_result_log
5656

5757

mysql-test/suite/mariabackup/log_checksum_mismatch.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
77
let $backuplog=$MYSQLTEST_VARDIR/tmp/backup.log;
88

99
--disable_result_log
10-
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --dbug=+d,log_intermittent_checksum_mismatch > $backuplog;
10+
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --dbug=+d,log_intermittent_checksum_mismatch --core-file > $backuplog;
1111
--enable_result_log
1212

1313
--let SEARCH_RANGE = 10000000

mysql-test/suite/mariabackup/unencrypted_page_compressed.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ echo # xtrabackup backup;
3838
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
3939
let $backuplog=$MYSQLTEST_VARDIR/tmp/backup.log;
4040
--error 1
41-
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir > $backuplog;
41+
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --core-file > $backuplog;
4242
--enable_result_log
4343

4444
--let SEARCH_PATTERN=Database page corruption detected.*

0 commit comments

Comments
 (0)