X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=userapps%2Fopensource%2Fnet-snmp%2Ftesting%2Ftests%2FT017snmpv2ctov1getfail;fp=userapps%2Fopensource%2Fnet-snmp%2Ftesting%2Ftests%2FT017snmpv2ctov1getfail;h=57651322ef8b65ee6adf7ef1d585f4ab06b223b3;hb=9dffd9f7659a1b28265e0dc9497343eb3d108d02;hp=0000000000000000000000000000000000000000;hpb=e48c2529a5a7e7dbf1797bb6d1bf964bc03e78a7;p=bcm963xx.git diff --git a/userapps/opensource/net-snmp/testing/tests/T017snmpv2ctov1getfail b/userapps/opensource/net-snmp/testing/tests/T017snmpv2ctov1getfail new file mode 100644 index 00000000..57651322 --- /dev/null +++ b/userapps/opensource/net-snmp/testing/tests/T017snmpv2ctov1getfail @@ -0,0 +1,26 @@ +#!/bin/sh + +# +# test snmpv2c get support by reading a variable +# + +. ../eval_tools.sh + +HEADER for failure of SNMPv2c get against SNMPv1 agent + +# +# Begin test +# + +# standard V2C configuration: testcomunnity +. ./Sv1config + +STARTAGENT + +CAPTURE "snmpget -On $SNMP_FLAGS -c notavalidcommunity -v 2c udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0" + +STOPAGENT + +CHECK "Timeout" + +FINISHED