You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-05 04:50:35 +03:00
32 lines
739 B
Bash
32 lines
739 B
Bash
#!/bin/sh
|
|
|
|
. ../eval_tools.sh
|
|
|
|
HEADER SNMPv1 vacm acceptance support
|
|
SKIPIF DISABLE_SNMPV1
|
|
|
|
#
|
|
# Begin test
|
|
#
|
|
|
|
# standard V1 configuration: testcommunity1 testcommunity2
|
|
# testcommunity1 can access .1.3.6.1.2.1.1.1, others are denied
|
|
# testcommunity2 can access all except .1.3.6.1.2.1.1.1
|
|
# This case test for successful access
|
|
snmp_version=v1
|
|
. ./Svacmconfig
|
|
|
|
STARTAGENT
|
|
|
|
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity1 -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.1.0"
|
|
|
|
CHECKORDIE ".1.3.6.1.2.1.1.1.0 = STRING:"
|
|
|
|
CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity2 -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"
|
|
|
|
CHECK ".1.3.6.1.2.1.1.3.0 = Timeticks: "
|
|
|
|
STOPAGENT
|
|
|
|
FINISHED
|