mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Fix skip number
This commit is contained in:
parent
181ac1e018
commit
aa6563c75c
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ SKIP: {
|
|||
like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" );
|
||||
|
||||
SKIP: {
|
||||
skip "no snmp host defined", 32 if ( ! $host_snmp );
|
||||
skip "no snmp host defined", 34 if ( ! $host_snmp );
|
||||
|
||||
$res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:");
|
||||
cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue