SNMP frontend: special case for SnmpAdminString with not null-terminated string

This commit is contained in:
Olof hagsand 2022-05-28 15:13:53 +02:00
parent 7bcecc155a
commit 18ff854e12
2 changed files with 17 additions and 2 deletions

View file

@ -150,7 +150,7 @@ VALUE="foo bar"
TYPE=STRING # SnmpAdminString
new "Get $NAME default"
expectpart "$($snmpget $OID)" 0 "$OID = $TYPE: So long, and thanks for all the fish!."
expectpart "$($snmpget $OID)" 0 "$OID = $TYPE: So long, and thanks for all the fish!"
new "Set $NAME $VALUE"
expectpart "$($snmpset $OID s "$VALUE")" 0 "$OID = $TYPE: $VALUE"