and added files
[bcm963xx.git] / userapps / opensource / net-snmp / testing / tests / T025snmpv3getSHADES
diff --git a/userapps/opensource/net-snmp/testing/tests/T025snmpv3getSHADES b/userapps/opensource/net-snmp/testing/tests/T025snmpv3getSHADES
new file mode 100755 (executable)
index 0000000..c1ed082
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+. ../eval_tools.sh
+
+HEADER SNMPv3 get using templateSHA/MD5DES of .1.3.6.1.2.1.1.3.0
+
+SKIPIFNOT USE_OPENSSL
+
+#
+# Begin test
+#
+
+# standard V3 configuration for templateSHA user
+. ./Sv3SHADESconfig
+
+STARTAGENT
+
+CAPTURE "snmpget -On $SNMP_FLAGS -v 3 -x DES -X initial_test_pass_priv -a SHA -A initial_test_pass_auth -l ap -u initial udp:localhost:$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