Test script change: merged new2+new functions

This commit is contained in:
Olof hagsand 2019-02-02 12:20:47 +01:00
parent cf4f626719
commit 936ae389e8
12 changed files with 102 additions and 110 deletions

View file

@ -101,7 +101,7 @@ expecteof "$clixon_netconf -qf $cfg -y $fyang1" 0 "<rpc><discard-changes/></rpc>
new "restconf set x in example1"
expecteq "$(curl -s -X POST -d '{"example1:x":42}' http://localhost/restconf/data)" ''
new2 "restconf get config example1"
new "restconf get config example1"
expecteq "$(curl -s -X GET http://localhost/restconf/data/example1:x)" '{"example1:x": 42}
'