Removed test for hosts's default

This commit is contained in:
Brian Fraser
2013-03-06 17:05:11 -03:00
parent 6e964261b7
commit fb405b17f6

View File

@@ -15,13 +15,6 @@ cnf="/tmp/12345/my.sandbox.cnf"
parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" --defaults-file $cnf parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" --defaults-file $cnf
is "$OPT_DEFAULTS_FILE" "$cnf" "--defaults-file works" 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 # 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 parse_options "$PERCONA_TOOLKIT_BRANCH/bin/pt-mysql-summary" -F $cnf
is "$OPT_DEFAULTS_FILE" "$cnf" "-F works" 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 # Done
# ############################################################################ # ############################################################################