No need to pass an additional arg to to mtr_add_arg when there is no % sign

parent 1437500c
...@@ -4293,13 +4293,11 @@ sub run_mysqltest ($) { ...@@ -4293,13 +4293,11 @@ sub run_mysqltest ($) {
if ( $opt_ssl ) if ( $opt_ssl )
{ {
# Turn on SSL for _all_ test cases if option --ssl was used # Turn on SSL for _all_ test cases if option --ssl was used
mtr_add_arg($args, "--ssl", mtr_add_arg($args, "--ssl");
$glob_mysql_test_dir);
} }
elsif ( $opt_ssl_supported ) elsif ( $opt_ssl_supported )
{ {
mtr_add_arg($args, "--skip-ssl", mtr_add_arg($args, "--skip-ssl");
$glob_mysql_test_dir);
} }
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
......
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