* Fixed: [Non-obvious behavior of clixon_snmp after snmpset command when transaction validation returns an error](https://github.com/clicon/clixon/issues/375)
* Fixed by validating writes on ACTION instead of COMMIT since libnetsnmp seems not to accept commit errors
This commit is contained in:
parent
3a5d156690
commit
05b31508a1
5 changed files with 46 additions and 13 deletions
|
|
@ -276,7 +276,7 @@ new "wait backend"
|
|||
wait_backend
|
||||
|
||||
new "set value with error"
|
||||
expectpart "$($snmpset ${MIB}.1.1 i 4321)" 0 "INTEGER: 4321"
|
||||
expectpart "$($snmpset ${MIB}.1.1 i 4321 2>&1)" 2 "commitFailed"
|
||||
|
||||
new "Cleaning up"
|
||||
testexit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue