blob: 985b2a424ff2a3d9c5d38af8fb03da40b6c4b44f [file] [log] [blame]
#!/bin/sh
. ../support/simple_eval_tools.sh
HEADER SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0
SKIPIFNOT NETSNMP_CAN_DO_CRYPTO
SKIPIFNOT NETSNMP_ENABLE_SCAPI_AUTHPRIV
SKIPIFNOT HAVE_AES_CFB128_ENCRYPT
SKIPIF NETSNMP_DISABLE_MD5
#
# Begin test
#
# standard V3 configuration for initial user
DEFAUTHTYPE=MD5
DEFPRIVTYPE=AES
. ./Sv3config
STARTAGENT
CAPTURE "snmpget -On $SNMP_FLAGS $PRIVTESTARGS $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
STOPAGENT
CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks:"
FINISHED