Commit 9aac6fd7 authored by unknown's avatar unknown

WL#3232 mysqltest, enable --source $variables/<remaining_path_to_file>

 - Add test case for this already existing feature 


mysql-test/r/mysqltest.result:
  Update result file
mysql-test/t/mysqltest.test:
  Add test case for this feature
parent 3aa6d3f5
...@@ -330,6 +330,7 @@ here is the sourced script ...@@ -330,6 +330,7 @@ here is the sourced script
In loop In loop
here is the sourced script 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 sleep
mysqltest: At line 1: Missing argument to real_sleep mysqltest: At line 1: Missing argument to real_sleep
mysqltest: At line 1: Invalid argument to sleep "abc" mysqltest: At line 1: Invalid argument to sleep "abc"
......
...@@ -807,6 +807,10 @@ while ($num) ...@@ -807,6 +807,10 @@ while ($num)
} }
--enable_abort_on_error --enable_abort_on_error
--enable_query_log --enable_query_log
# Test source $variable/<filename>
--source $MYSQLTEST_VARDIR/tmp/sourced.inc
--remove_file $MYSQLTEST_VARDIR/tmp/sourced.inc --remove_file $MYSQLTEST_VARDIR/tmp/sourced.inc
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment