aboutsummaryrefslogtreecommitdiff
path: root/plugins/t/check_mysql.t
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-03-17 14:07:34 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-03-17 14:07:34 +0000
commit2db2f402a3bb0c948667c1401b733014fe90a718 (patch)
treed389192fa3385893f2c4492a98db6ef4790efd32 /plugins/t/check_mysql.t
parent2b10c19323e2415433db55ac4bfa0604294fa43d (diff)
downloadmonitoring-plugins-2db2f402a3bb0c948667c1401b733014fe90a718.tar.gz
mysql detection cleanup: fixes runtime linking, autodetection of main
locations, detection of lib64 and different layouts git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t/check_mysql.t')
-rw-r--r--plugins/t/check_mysql.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_mysql.t b/plugins/t/check_mysql.t
index 78413c6e..852926a7 100644
--- a/plugins/t/check_mysql.t
+++ b/plugins/t/check_mysql.t
@@ -48,7 +48,7 @@ SKIP: {
$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");