summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
authorTon Voon <ton.voon@opsera.com>2009-09-11 22:58:41 (GMT)
committerTon Voon <ton.voon@opsera.com>2009-09-11 22:58:41 (GMT)
commitaa6563c75cbd09eeb8b9eec55340469183f213cb (patch)
tree28b12b3ae709da28a919127f7259e6c48d55124c /plugins/t
parent181ac1e0182b01bc15188ada6f6239c652f55821 (diff)
downloadmonitoring-plugins-aa6563c75cbd09eeb8b9eec55340469183f213cb.tar.gz
Fix skip number
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/check_snmp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_snmp.t b/plugins/t/check_snmp.t
index 2ce0858..d65fd0b 100644
--- a/plugins/t/check_snmp.t
+++ b/plugins/t/check_snmp.t
@@ -44,7 +44,7 @@ SKIP: {
44 like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" ); 44 like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" );
45 45
46 SKIP: { 46 SKIP: {
47 skip "no snmp host defined", 32 if ( ! $host_snmp ); 47 skip "no snmp host defined", 34 if ( ! $host_snmp );
48 48
49 $res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:"); 49 $res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:");
50 cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" ); 50 cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" );