From fb405b17f6ebbd5198d04a5f04678eaeddac4da8 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 6 Mar 2013 17:05:11 -0300 Subject: [PATCH] Removed test for hosts's default --- t/lib/bash/mysql_options.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 # ############################################################################