and added files
[bcm963xx.git] / userapps / opensource / net-snmp / testing / tests / T015snmpv2cgetnext
diff --git a/userapps/opensource/net-snmp/testing/tests/T015snmpv2cgetnext b/userapps/opensource/net-snmp/testing/tests/T015snmpv2cgetnext
new file mode 100644 (file)
index 0000000..4d44b4e
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+. ../eval_tools.sh
+
+HEADER SNMPv2c getnext of system.sysUpTime
+
+#
+# Begin test
+#
+
+# standard V2C configuration: testcomunnity
+. ./Sv2cconfig
+
+STARTAGENT
+
+CAPTURE "snmpgetnext -On $SNMP_FLAGS -c testcommunity -v 2c udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3"
+
+STOPAGENT
+
+CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks:"
+
+FINISHED