blob: d9b8b6ab28e7eef33f2817927e2688c923ab0add [file] [log] [blame]
#!/bin/sh
. ../support/simple_eval_tools.sh
HEADER for failure of SNMPv1 get against SNMPv2c agent
SKIPIF NETSNMP_DISABLE_SNMPV2C
SKIPIF NETSNMP_DISABLE_SNMPV1
SKIPIFNOT USING_MIBII_SYSTEM_MIB_MODULE
#
# Begin test
#
# standard V2C configuration: testcomunnity
. ./Sv2cconfig
STARTAGENT
CAPTURE "snmpget -On $SNMP_FLAGS -c notavalidcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
STOPAGENT
CHECK "Timeout"
FINISHED