diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-01-31 14:37:11 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-01-31 14:37:11 +0000 |
commit | 3a3f326bbf1baf28ceebf29cd1800a27d47b3047 (patch) | |
tree | 966ea594ee3d430028236aa4b8f22ae2d55b7361 /plugins/t | |
parent | bec6af5108b958bc3ea03dc14993500fc9524c62 (diff) | |
download | monitoring-plugins-3a3f326bbf1baf28ceebf29cd1800a27d47b3047.tar.gz |
Extra explanation in tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t')
-rw-r--r-- | plugins/t/check_mysql.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/t/check_mysql.t b/plugins/t/check_mysql.t index 764db72c..e961106b 100644 --- a/plugins/t/check_mysql.t +++ b/plugins/t/check_mysql.t | |||
@@ -4,6 +4,12 @@ | |||
4 | # | 4 | # |
5 | # $Id$ | 5 | # $Id$ |
6 | # | 6 | # |
7 | # | ||
8 | # These are the database permissions required for this test: | ||
9 | # GRANT SELECT ON $db.* TO $user@$host INDENTIFIED BY '$password'; | ||
10 | # GRANT SUPER, REPLICATION CLIENT ON *.* TO $user@$host; | ||
11 | # Check with: | ||
12 | # mysql -u$user -p$password -h$host $db | ||
7 | 13 | ||
8 | use strict; | 14 | use strict; |
9 | use Test::More; | 15 | use Test::More; |
@@ -23,7 +29,7 @@ my $mysqlserver = getTestParameter( | |||
23 | my $mysql_login_details = getTestParameter( | 29 | my $mysql_login_details = getTestParameter( |
24 | "MYSQL_LOGIN_DETAILS", | 30 | "MYSQL_LOGIN_DETAILS", |
25 | "Command line parameters to specify login access", | 31 | "Command line parameters to specify login access", |
26 | "-u user -ppw", | 32 | "-u user -ppw -d db", |
27 | ); | 33 | ); |
28 | my $with_slave = getTestParameter( | 34 | my $with_slave = getTestParameter( |
29 | "NP_MYSQL_WITH_SLAVE", | 35 | "NP_MYSQL_WITH_SLAVE", |