diff options
author | Sven Nierlein <sven@nierlein.org> | 2018-12-07 09:34:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 09:34:45 (GMT) |
commit | c7c4be2ad1fa97d5b8db0cff5f7204c605992047 (patch) | |
tree | 56c6268f2a2481ff7b866ccd09c2005d7ec24a67 /plugins/t/check_mysql_query.t | |
parent | c285edd2f34582c954a720317c3feba37aa1a33a (diff) | |
parent | d7dcca22ae2f7bdf0ee2282e00c1999de0b58e26 (diff) | |
download | monitoring-plugins-c7c4be2ad1fa97d5b8db0cff5f7204c605992047.tar.gz |
Merge pull request #1565 from sni/travis_run_plugin_root_tests
Travis run plugin root tests
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 407af88..96899ac 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) { |