~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to testing/tests/T020snmpv3get

  • 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 SNMPv3 get using initial of .1.3.6.1.2.1.1.3.0
 
6
 
 
7
#
 
8
# Begin test
 
9
#
 
10
 
 
11
# configure the agent to accept user initial with noAuthNoPriv
 
12
CONFIGAGENT rwUser initial
 
13
CONFIGAGENT createUser initial MD5 initial_PASS DES final_pass
 
14
CONFIGAGENT group   testinitialgroup  usm     initial
 
15
CONFIGAGENT view    all     included .1 80
 
16
CONFIGAGENT 'access  testinitialgroup  "" any noauth exact all all all'
 
17
 
 
18
STARTAGENT
 
19
 
 
20
CAPTURE "snmpget -On $SNMP_FLAGS -v 3 -l nanp -u initial $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
 
21
 
 
22
STOPAGENT
 
23
 
 
24
CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks:"
 
25
 
 
26
FINISHED