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

« back to all changes in this revision

Viewing changes to testing/tests/T150solarishostcpu

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
HEADER 1st CPU on Solaris using HOST-RESOURCES
6
6
 
7
 
if test `uname -s` != "SunOS" ; then
8
 
    # a bogus skip for !suns
9
 
    SKIPIFNOT XXXYYYZZZ
 
7
if test "x`uname -s`" != "xSunOS" ; then
 
8
    SKIP
10
9
fi
11
10
 
12
11
SKIPIF DISABLE_SNMPV1
13
 
 
14
12
SKIPIFNOT USING_HOST_HR_DEVICE_MODULE
15
13
 
16
14
#
24
22
 
25
23
# ask for the description of the first CPU in the system
26
24
 
27
 
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.25.3.2.1.3.768"
 
25
CAPTURE "snmpgetnext -On $SNMP_FLAGS -c testcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.25.3.2.1.3.767"
28
26
 
29
 
CHECKORDIE "^.1.3.6.1.2.1.25.3.2.1.3.768 = STRING: CPU"
 
27
CHECKORDIE " = STRING: CPU "
30
28
 
31
29
STOPAGENT
32
30