summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_mysql_query.t
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.org>2018-12-07 09:34:45 (GMT)
committerGitHub <noreply@github.com>2018-12-07 09:34:45 (GMT)
commitc7c4be2ad1fa97d5b8db0cff5f7204c605992047 (patch)
tree56c6268f2a2481ff7b866ccd09c2005d7ec24a67 /plugins/t/check_mysql_query.t
parentc285edd2f34582c954a720317c3feba37aa1a33a (diff)
parentd7dcca22ae2f7bdf0ee2282e00c1999de0b58e26 (diff)
downloadmonitoring-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.t11
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
18plan skip_all => "check_mysql_query not compiled" unless (-x "check_mysql_query"); 18plan skip_all => "check_mysql_query not compiled" unless (-x "check_mysql_query");
19 19
20my $mysqlserver = getTestParameter( 20my $mysqlserver = getTestParameter("NP_MYSQL_SERVER", "A MySQL Server with no slaves setup");
21 "NP_MYSQL_SERVER", 21my $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 );
24my $mysql_login_details = getTestParameter(
25 "MYSQL_LOGIN_DETAILS",
26 "Command line parameters to specify login access",
27 "-u user -ppw -d db",
28 );
29my $result; 22my $result;
30 23
31if (! $mysqlserver) { 24if (! $mysqlserver) {