Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / testing / tests / T016snmpv2cgetfail
1 #!/bin/sh
2
3 #
4 # test snmpv2c get support by reading a variable
5 #
6
7 . ../eval_tools.sh
8
9 HEADER for failure of SNMPv2c get with wrong community
10
11 #
12 # Begin test
13 #
14
15 # standard V2C configuration: testcomunnity
16 . ./Sv2cconfig
17
18 STARTAGENT
19
20 CAPTURE "snmpget -On $SNMP_FLAGS -c notavalidcommunity -v 2c udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
21
22 STOPAGENT
23
24 CHECK "Timeout"
25
26 FINISHED