summaryrefslogtreecommitdiff
path: root/mysql-test/suite/mtr/t/simple.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-02-23 07:50:11 +0100
committerSergei Golubchik <sergii@pisem.net>2012-02-23 07:50:11 +0100
commitc39877071a5ce8ba3c8dc7a1963e3c542e6cc83b (patch)
treecbab9d6a8cf2f5dd167bbffbddd92ebec30700eb /mysql-test/suite/mtr/t/simple.test
parentae0a7cfd5f75d80b4b0540258daa0e2ed051cd1b (diff)
downloadmariadb-git-c39877071a5ce8ba3c8dc7a1963e3c542e6cc83b.tar.gz
overlay support for mysql-test-run and mysqltest
mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
Diffstat (limited to 'mysql-test/suite/mtr/t/simple.test')
-rw-r--r--mysql-test/suite/mtr/t/simple.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/suite/mtr/t/simple.test b/mysql-test/suite/mtr/t/simple.test
new file mode 100644
index 00000000000..f69a7dc7911
--- /dev/null
+++ b/mysql-test/suite/mtr/t/simple.test
@@ -0,0 +1,15 @@
+#
+# This tests the following:
+# simple.test has two combinations (in simple.combinations).
+# it includes combs.inc (indirectly, via proxy.inc) with two more combinations
+# thus it should run 4 times
+#
+# combs.combinations is overlayed in the example overlay, adding one more
+# combination. Thus simple.test must run two more times in the mtr-example.
+#
+# Note that neither simple.test nor proxy.inc are touched by the overlay,
+# mtr needs to propagate "affected by the overlay" flag up the
+# inclusion chain.
+#
+source proxy.inc;
+select @@old;