SNMP frontend: special case for SnmpAdminString with not null-terminated string
This commit is contained in:
parent
7bcecc155a
commit
18ff854e12
2 changed files with 17 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue