diff options
author | Ton Voon <ton.voon@opsera.com> | 2009-09-11 22:58:41 (GMT) |
---|---|---|
committer | Ton Voon <ton.voon@opsera.com> | 2009-09-11 22:58:41 (GMT) |
commit | aa6563c75cbd09eeb8b9eec55340469183f213cb (patch) | |
tree | 28b12b3ae709da28a919127f7259e6c48d55124c /plugins/t/check_snmp.t | |
parent | 181ac1e0182b01bc15188ada6f6239c652f55821 (diff) | |
download | monitoring-plugins-aa6563c75cbd09eeb8b9eec55340469183f213cb.tar.gz |
Fix skip number
Diffstat (limited to 'plugins/t/check_snmp.t')
-rw-r--r-- | plugins/t/check_snmp.t | 2 |
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" ); |