summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormsvensson@pilot.(none) <>2007-06-19 11:06:02 +0200
committermsvensson@pilot.(none) <>2007-06-19 11:06:02 +0200
commitcaebb719b23db45c99225f18215c1fd383ce4f9d (patch)
treeafb4c037591839872ac572fa85cd351aab9a2923 /mysql-test
parentd2d4e6676068dddac7aa9bf8095ddf7d89f51b9a (diff)
downloadmariadb-git-caebb719b23db45c99225f18215c1fd383ce4f9d.tar.gz
WL#3232 mysqltest, enable --source $variables/<remaining_path_to_file>
- Add test case for this already existing feature
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/mysqltest.result1
-rw-r--r--mysql-test/t/mysqltest.test4
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/mysqltest.result b/mysql-test/r/mysqltest.result
index 92265c94c4b..c71fbc4f5e0 100644
--- a/mysql-test/r/mysqltest.result
+++ b/mysql-test/r/mysqltest.result
@@ -330,6 +330,7 @@ here is the sourced script
In loop
here is the sourced script
+here is the sourced script
mysqltest: At line 1: Missing argument to sleep
mysqltest: At line 1: Missing argument to real_sleep
mysqltest: At line 1: Invalid argument to sleep "abc"
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test
index 8dae94e271e..5bc004125c4 100644
--- a/mysql-test/t/mysqltest.test
+++ b/mysql-test/t/mysqltest.test
@@ -807,6 +807,10 @@ while ($num)
}
--enable_abort_on_error
--enable_query_log
+
+# Test source $variable/<filename>
+--source $MYSQLTEST_VARDIR/tmp/sourced.inc
+
--remove_file $MYSQLTEST_VARDIR/tmp/sourced.inc
# ----------------------------------------------------------------------------