diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-04-18 19:52:03 +0000 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-04-27 19:12:40 +0200 |
commit | ca24f35b67c8cc26b7135a677dada8b563b561b4 (patch) | |
tree | 49d14fd7c4c6a29ccd9be896c1855b4e04e50f8e /mysql-test/suite/mariabackup/xb_history.test | |
parent | 1991411f16366f5acda5c9478ea544c56c3974f0 (diff) | |
download | mariadb-git-ca24f35b67c8cc26b7135a677dada8b563b561b4.tar.gz |
MDEV-9566 MariaBackup test suite
Diffstat (limited to 'mysql-test/suite/mariabackup/xb_history.test')
-rw-r--r-- | mysql-test/suite/mariabackup/xb_history.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/mariabackup/xb_history.test b/mysql-test/suite/mariabackup/xb_history.test new file mode 100644 index 00000000000..28de50127c6 --- /dev/null +++ b/mysql-test/suite/mariabackup/xb_history.test @@ -0,0 +1,8 @@ +let $targetdir=$MYSQLTEST_VARDIR/tmp/backup; +--disable_result_log +exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --history=foo --backup --target-dir=$targetdir; +--enable_result_log +SELECT COUNT(*) FROM PERCONA_SCHEMA.xtrabackup_history; +DROP TABLE PERCONA_SCHEMA.xtrabackup_history; +DROP DATABASE PERCONA_SCHEMA; +rmdir $targetdir; |