summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidnetsnmp/testing/tests/T151solarishostdisk
blob: f9811f5c11359140c2e9041f65605a04d7ef2b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

. ../eval_tools.sh

HEADER initial load device on Solaris using HOST-RESOURCES

if test `uname -s` != "SunOS" ; then
    # a bogus skip for !suns
    SKIPIFNOT XXXYYYZZZ
fi

SKIPIFNOT USING_HOST_HR_SYSTEM_MODULE
SKIPIF NETSNMP_DISABLE_SNMPV1

#
# Begin test
#

# standard V1 configuration: testcommunity
. ./Sv1config

STARTAGENT

# ask for the index of the initial device (hrSystemInitialLoadDevice.0)
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.1.3.0"

STOPAGENT

CHECKORDIE "^.1.3.6.1.2.1.25.1.3.0 = INTEGER:"

FINISHED