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

@ -139,7 +139,7 @@ expecteof "$clixon_netconf -qf $cfg -y $fyang" 0 "<rpc><commit/></rpc>]]>]]>" "^
new "restconf set protocol tcp"
expecteq "$(curl -s -X PUT http://localhost/restconf/data/system:system/protocol -d {\"system:protocol\":{\"tcp\":null}})" ""
new2 "restconf get protocol tcp"
new "restconf get protocol tcp"
expecteq "$(curl -s -X GET http://localhost/restconf/data/system:system)" '{"system:system": {"protocol": {"tcp": null}}}
'