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

« back to all changes in this revision

Viewing changes to testing/tests/T024snmpv3getSHA1

  • 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 templateSHA/SHA of .1.3.6.1.2.1.1.3.0
 
6
 
 
7
SKIPIFNOT USE_OPENSSL
 
8
 
 
9
#
 
10
# Begin test
 
11
#
 
12
 
 
13
# standard V3 configuration for templateSHA user
 
14
. ./Sv3configsha
 
15
 
 
16
STARTAGENT
 
17
 
 
18
CAPTURE "snmpget -On $SNMP_FLAGS -v 3 -a SHA -A initial_test_pass_auth -l anp -u initial $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
 
19
 
 
20
STOPAGENT
 
21
 
 
22
CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks:"
 
23
 
 
24
FINISHED