mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
c61fb3c359
Evaluate commands passed to "exec" and "system" to expand any $variables before executing command. client/mysqltest.c: do_exec, do_system - call do_eval on the command to be executed in order to expand any $variables - Remove old subst_env_var and my_popen, not needed anymore Rewrite 'replace_strings' into 'replace_strings_append' - copy whole strings instead of byte by byte copy - insert result directly inito dynamic_string, no need to check if out string needs to be realloced for every byte. - Add comments and DBUG_PRINT's New function 'fix_win_paths', detect filenames in win format that should be converted do_eval - Only set "escaped" if next char is \ or $ mysql-test/mysql-test-run.pl: Always pass path for DBUG .trace file in unix format Add search path client_debug to find debug compiled windows binaries Remove unused MYSQL_TEST_WINDIR and MASTER_WINMYSOCK mysql-test/r/mysqldump.result: Update test result mysql-test/t/client_xml.test: Use " instead of ' mysql-test/t/mysql_client_test.test: Remove the useless "exec echo" command mysql-test/t/mysqltest.test: Escape $variables passed to --exec, that should not be evaluated in exec. mysql-test/t/rpl000015.test: Remove unneccessary replace mysql-test/t/system_mysql_db_fix.test: Call the "shell script" $MYSQL_FIX_SYSTEM_TABLE using --system
13 lines
408 B
Text
13 lines
408 B
Text
# We run with different binaries for normal and --embedded-server
|
|
#
|
|
# If this test fails with "command "$MYSQL_CLIENT_TEST" failed",
|
|
# you should either run mysql_client_test separartely against a running
|
|
# server or run mysql-test-run --debug mysql_client_test and check
|
|
# var/log/mysql_client_test.trace
|
|
|
|
--disable_result_log
|
|
--exec $MYSQL_CLIENT_TEST --getopt-ll-test=25600M
|
|
|
|
# End of 4.1 tests
|
|
echo ok;
|
|
|