diff --git a/t/lib/bash/mysql_options.sh b/t/lib/bash/mysql_options.sh index 2d966ce7..bc20421a 100644 --- a/t/lib/bash/mysql_options.sh +++ b/t/lib/bash/mysql_options.sh @@ -15,13 +15,6 @@ cnf="/tmp/12345/my.sandbox.cnf" parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" --defaults-file $cnf is "$OPT_DEFAULTS_FILE" "$cnf" "--defaults-file works" -# ############################################################################ -# --host's default works -# ############################################################################ - -parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" -is "$OPT_HOST" "localhost" "--host has default: localhost" - # ############################################################################ # Short forms work # ############################################################################ @@ -29,6 +22,9 @@ is "$OPT_HOST" "localhost" "--host has default: localhost" parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" -F $cnf is "$OPT_DEFAULTS_FILE" "$cnf" "-F works" +parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" -u msandbox +is "$OPT_USER" "msandbox" "-u works" + # ############################################################################ # Done # ############################################################################