diff --git a/test/test_netconf.sh b/test/test_netconf.sh index 3e921f9a..0cb5ca63 100755 --- a/test/test_netconf.sh +++ b/test/test_netconf.sh @@ -163,7 +163,7 @@ new "netconf discard-changes" expecteof "$clixon_netconf -qf $cfg" 0 "]]>]]>" "^]]>]]>$" new "netconf edit state operation should fail" -expecteof "$clixon_netconf -qf $cfg" 0 "e0up]]>]]>" "^protocolinvalid-valueerrorState data not allowed]]>]]>" +expecteof "$clixon_netconf -qf $cfg" 0 "e0up]]>]]>" "^applicationinvalid-valueerroroper-status in module ietf-interfaces: state data node unexpected]]>]]>" new "netconf get state operation" expecteof "$clixon_netconf -qf $cfg" 0 "]]>]]>" "^eth1ex:ethtrueup42foo]]>]]>$" diff --git a/test/test_yang.sh b/test/test_yang.sh index 87288a95..3a1d41c5 100755 --- a/test/test_yang.sh +++ b/test/test_yang.sh @@ -212,7 +212,7 @@ new "cli show leaf-list" expectfn "$clixon_cli -1f $cfg show xpath /x/f/e urn:example:clixon" 0 "foo" new "netconf set state data (not allowed)" -expecteof "$clixon_netconf -qf $cfg" 0 "42]]>]]>" "^protocolinvalid-valueerrorState data not allowed]]>]]>$" +expecteof "$clixon_netconf -qf $cfg" 0 "42]]>]]>" "^applicationinvalid-valueerrorstate in module example: state data node unexpected]]>]]>$" new "netconf set presence and not present" expecteof "$clixon_netconf -qf $cfg" 0 "]]>]]>" "^]]>]]>$"