Explorar el Código

Extra explanation in tests

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon hace 20 años
padre
commit
3a3f326bbf
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      plugins/t/check_mysql.t

+ 7 - 1
plugins/t/check_mysql.t

@@ -4,6 +4,12 @@
 #
 # $Id$
 #
+#
+# These are the database permissions required for this test:
+#  GRANT SELECT ON $db.* TO $user@$host INDENTIFIED BY '$password';
+#  GRANT SUPER, REPLICATION CLIENT ON *.* TO $user@$host;
+# Check with:
+#  mysql -u$user -p$password -h$host $db
 
 use strict;
 use Test::More;
@@ -23,7 +29,7 @@ my $mysqlserver = getTestParameter(
 my $mysql_login_details = getTestParameter( 
 		"MYSQL_LOGIN_DETAILS", 
 		"Command line parameters to specify login access",
-		"-u user -ppw",
+		"-u user -ppw -d db",
 		);
 my $with_slave = getTestParameter( 
 		"NP_MYSQL_WITH_SLAVE",