Debian Codegraph @

testing/fulltests/default/T0160snmpv2cbulkget_simple

raw
1 #!/bin/sh
2
3 . ../support/simple_eval_tools.sh
4
5 HEADER SNMPv2c bulkget of system components
6
7 SKIPIF NETSNMP_DISABLE_SNMPV2C
8 SKIPIFNOT USING_MIBII_SYSTEM_MIB_MODULE
9
10 #
11 # Begin test
12 #
13
14 # standard V2 configuration: testcomunnity
15 . ./Sv2cconfig
16
17 STARTAGENT
18
19 CAPTURE "snmpbulkget $SNMP_FLAGS -v2c -On -Cn1 -Cr2 -c testcommunity $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.4 .1.3.6.1.2.1.1"
20
21 STOPAGENT
22
23 CHECKORDIE ".1.3.6.1.2.1.1.4.0 = STRING:"
24 CHECKORDIE ".1.3.6.1.2.1.1.1.0 = STRING:"
25 CHECKORDIE ".1.3.6.1.2.1.1.2.0 = OID:"
26
27 CHECKCOUNT 0 ".1.3.6.1.2.1.1.3.0"
28
29 CHECKCOUNT 0 ".1.3.6.1.2.1.1.5.0"
30
31 FINISHED