~ubuntu-branches/ubuntu/gutsy/net-snmp/gutsy-security

« back to all changes in this revision

Viewing changes to testing/tests/T018snmpv1tov2cgetfail

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. ../eval_tools.sh
 
4
 
 
5
HEADER for failure of SNMPv1 get against SNMPv2c agent
 
6
 
 
7
#
 
8
# Begin test
 
9
#
 
10
 
 
11
# standard V2C configuration: testcomunnity
 
12
. ./Sv2cconfig
 
13
 
 
14
STARTAGENT
 
15
 
 
16
CAPTURE "snmpget -On $SNMP_FLAGS -c notavalidcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
 
17
 
 
18
STOPAGENT
 
19
 
 
20
CHECK "Timeout"
 
21
 
 
22
FINISHED