[Nagiosplug-checkins] nagiosplug/plugins/t check_mysql.t,1.7,1.8

Ton Voon tonvoon at users.sourceforge.net
Fri Mar 17 06:08:09 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14766/plugins/t

Modified Files:
	check_mysql.t 
Log Message:
mysql detection cleanup: fixes runtime linking, autodetection of main
locations, detection of lib64 and different layouts


Index: check_mysql.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_mysql.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- check_mysql.t	15 Mar 2006 19:54:32 -0000	1.7
+++ check_mysql.t	17 Mar 2006 14:07:34 -0000	1.8
@@ -48,7 +48,7 @@
 	$result = NPTest->testCmd("./check_mysql -H $mysqlserver $mysql_login_details");
 	cmp_ok( $result->return_code, '==', 0, "Login okay");
 
-	$result = NPTest->testCmd("./check_mysql -H $mysqlserver -u dummy");
+	$result = NPTest->testCmd("./check_mysql -H $mysqlserver -u dummy -pdummy");
 	cmp_ok( $result->return_code, '==', 2, "Login failure");
 	like( $result->output, $bad_login_output, "Expected login failure message");
 





More information about the Commits mailing list