and added files
[bcm963xx.git] / userapps / opensource / net-snmp / testing / tests / T049snmpv3inform
diff --git a/userapps/opensource/net-snmp/testing/tests/T049snmpv3inform b/userapps/opensource/net-snmp/testing/tests/T049snmpv3inform
new file mode 100644 (file)
index 0000000..f6613ab
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+. ../eval_tools.sh
+
+HEADER SNMPv3 informs received and sent by tools
+
+#
+# Begin test
+#
+
+CONFIGTRAPD createUser testuser MD5 TESTPASSPHRASE
+
+STARTTRAPD
+
+CAPTURE "snmptrap -Ci -d -v 3 -u testuser -a MD5 -A TESTPASSPHRASE -l anp udp:localhost:$SNMP_SNMPTRAPD_PORT 0 .1.3.6.1.6.3.1.1.5.1 system.sysContact.0 s blah"
+
+STOPTRAPD
+
+CHECKTRAPD "coldStart"
+
+FINISHED