Fixed: [NETCONF error reply from failed leafref rquire-instance does not comply to RFC 7950](https://github.com/clicon/clixon/issues/53
This commit is contained in:
parent
07a1fa164f
commit
816238029d
10 changed files with 96 additions and 47 deletions
|
|
@ -288,7 +288,7 @@ new "set leafref require-instance 99 (non-existent)"
|
|||
expectpart "$($clixon_cli -1 -f $cfg set leafrefsreqinst leafref 99)" 0 "^"$
|
||||
|
||||
new "cli validate expect failure"
|
||||
expectpart "$($clixon_cli -1 -f $cfg -l o validate)" 255 "Leafref validation failed: No leaf 99 matching path"
|
||||
expectpart "$($clixon_cli -1 -f $cfg -l o validate)" 255 "data-missing 99: instance-required : /table/parameter/name"
|
||||
|
||||
new "cli discard"
|
||||
expectpart "$($clixon_cli -1 -f $cfg -l o discard)" 0 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue