mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Removed test for hosts's default
This commit is contained in:
@@ -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
|
||||||
# ############################################################################
|
# ############################################################################
|
||||||
|
Reference in New Issue
Block a user