Fixed a problem with some netconf error messages caused restconf daemon to exit due to no XML encoding

This commit is contained in:
Olof hagsand 2019-06-12 18:15:44 +02:00
parent de15b2bf80
commit 98cc62eace
7 changed files with 68 additions and 29 deletions

View file

@ -149,7 +149,8 @@ new "start restconf daemon (-a is enable http basic auth)"
start_restconf -f $cfg -- -a
new "waiting"
sleep $RCWAIT
wait_backend
wait_restconf
new "auth get"
expecteq "$(curl -u andy:bar -sS -X GET http://localhost/restconf/data)" 0 '{"data": {"clixon-example:state": {"op": ["42","41","43"]}}}