summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2016-10-03 19:19:00 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2016-10-03 19:19:00 +0300
commitcb2c2f1ddfca5f0ecdc24f40e8922dbe7ed3b624 (patch)
tree15c0dce55482ed3523ac643ee8f8f166d6785900
parenta0a4079b78a6afc5cf8332fed40efef6eb5711d4 (diff)
downloadmariadb-git-cb2c2f1ddfca5f0ecdc24f40e8922dbe7ed3b624.tar.gz
Replace non-repeatable page-type-dump directory.
-rw-r--r--mysql-test/suite/innodb_zip/r/innochecksum_2.result2
-rw-r--r--mysql-test/suite/innodb_zip/t/innochecksum_2.test1
2 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/suite/innodb_zip/r/innochecksum_2.result b/mysql-test/suite/innodb_zip/r/innochecksum_2.result
index 52a237e1ee7..649c32b1a87 100644
--- a/mysql-test/suite/innodb_zip/r/innochecksum_2.result
+++ b/mysql-test/suite/innodb_zip/r/innochecksum_2.result
@@ -30,7 +30,7 @@ no-check FALSE
allow-mismatches 0
write crc32
page-type-summary FALSE
-page-type-dump /dev/shm/tmp/dump.txt
+page-type-dump MYSQLTEST_VARDIR/tmp/dump.txt
log (No default value)
leaf FALSE
merge 0
diff --git a/mysql-test/suite/innodb_zip/t/innochecksum_2.test b/mysql-test/suite/innodb_zip/t/innochecksum_2.test
index 57f57364c7f..a290a9fc449 100644
--- a/mysql-test/suite/innodb_zip/t/innochecksum_2.test
+++ b/mysql-test/suite/innodb_zip/t/innochecksum_2.test
@@ -36,6 +36,7 @@ while ($i > 0) {
--source include/shutdown_mysqld.inc
# Page_type_dump for t1
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--exec $INNOCHECKSUM -v --page-type-dump $MYSQLTEST_VARDIR/tmp/dump.txt $MYSQLD_DATADIR/test/t1.ibd
--file_exists $MYSQLTEST_VARDIR/tmp/dump.txt
--remove_file $MYSQLTEST_VARDIR/tmp/dump.txt