diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-12-02 16:42:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-02 16:42:05 +0100 |
| commit | 911e44045d7291f5ede22739fd176ef55dd3de4a (patch) | |
| tree | cf36b95a4a964b03d6ecf75770ced2cb3a2ac3a9 /plugins/t/check_mysql_query.t | |
| parent | 8294af907bd8482a86df749f562b7ec09e3faeed (diff) | |
| parent | ed7cdf82a42f16532801ea4f118870ce9a130fcf (diff) | |
| download | monitoring-plugins-911e44045d7291f5ede22739fd176ef55dd3de4a.tar.gz | |
Merge branch 'master' into fix/shellcheck
Diffstat (limited to 'plugins/t/check_mysql_query.t')
| -rw-r--r-- | plugins/t/check_mysql_query.t | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/t/check_mysql_query.t b/plugins/t/check_mysql_query.t index 407af881..96899ac6 100644 --- a/plugins/t/check_mysql_query.t +++ b/plugins/t/check_mysql_query.t | |||
| @@ -17,15 +17,8 @@ use vars qw($tests); | |||
| 17 | 17 | ||
| 18 | plan skip_all => "check_mysql_query not compiled" unless (-x "check_mysql_query"); | 18 | plan skip_all => "check_mysql_query not compiled" unless (-x "check_mysql_query"); |
| 19 | 19 | ||
| 20 | my $mysqlserver = getTestParameter( | 20 | my $mysqlserver = getTestParameter("NP_MYSQL_SERVER", "A MySQL Server with no slaves setup"); |
| 21 | "NP_MYSQL_SERVER", | 21 | my $mysql_login_details = getTestParameter("NP_MYSQL_LOGIN_DETAILS", "Command line parameters to specify login access", "-u user -ppw -d db"); |
| 22 | "A MySQL Server with no slaves setup" | ||
| 23 | ); | ||
| 24 | my $mysql_login_details = getTestParameter( | ||
| 25 | "MYSQL_LOGIN_DETAILS", | ||
| 26 | "Command line parameters to specify login access", | ||
| 27 | "-u user -ppw -d db", | ||
| 28 | ); | ||
| 29 | my $result; | 22 | my $result; |
| 30 | 23 | ||
| 31 | if (! $mysqlserver) { | 24 | if (! $mysqlserver) { |
