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

« back to all changes in this revision

Viewing changes to testing/tests/T152hostuptime

  • 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 uptime using HOST-RESOURCES
 
6
 
 
7
SKIPIFNOT USING_HOST_MODULE
 
8
 
 
9
#
 
10
# Begin test
 
11
#
 
12
 
 
13
# standard V1 configuration: testcomunnity
 
14
. ./Sv1config
 
15
 
 
16
STARTAGENT
 
17
 
 
18
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity -v 1 udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.25.1.1.0"
 
19
 
 
20
STOPAGENT
 
21
    
 
22
CHECKORDIE "^.1.3.6.1.2.1.25.1.1.0 = Timeticks:"
 
23
 
 
24
FINISHED
 
25