SNMP frontend: changed default mibyang dir to /share/mib-yangs to be same as repo

Test: new prel test_snmp_ifmib.sh
This commit is contained in:
Olof hagsand 2022-05-17 20:23:15 +02:00
parent 42f21a309a
commit c366962054
4 changed files with 126 additions and 6 deletions

View file

@ -126,8 +126,8 @@ expectpart "$($snmpgetnext $OID2)" 0 "$OID3 = STRING: This is not default"
new "Test SNMP get string"
expectpart "$($snmpget $OID3)" 0 "$OID3 = STRING: This is not default" --not-- "fish"
new "Test SNMP getnext string (expect heartbeat / no such object?)"
expectpart "$($snmpgetnext $OID3)" 0 "$OID3 = No more variables" # XXX this is a notification?
new "Test SNMP getnext string"
expectpart "$($snmpgetnext $OID3)" 0 "" # "$OID3 = No more variables" Can be any object
new "Cleaning up"
testexit