#!/bin/sh

. ../support/simple_eval_tools.sh

HEADER SNMPv2c informs received and sent by tools

SKIPIF NETSNMP_DISABLE_SNMPV2C
SKIPIFNOT USING_MIBII_VACM_CONF_MODULE

#
# Begin test
#

CONFIGTRAPD authcommunity log testcommunity
CONFIGTRAPD agentxsocket /dev/null

STARTTRAPD

CAPTURE "snmptrap -Ci -t $SNMP_SLEEP -d -v 2c -c testcommunity $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPTRAPD_PORT 0 .1.3.6.1.6.3.1.1.5.1 .1.3.6.1.2.1.1.4.0 s blah"

STOPTRAPD

CHECKTRAPD "Received"

FINISHED
