From 072cdb6bb09b15a56810e69c0fb66792005fb475 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Sat, 6 May 2017 14:32:04 +0200 Subject: [PATCH] restconf dont support patch and put fully --- test/test3.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/test3.sh b/test/test3.sh index ed1335e7..45efc73d 100755 --- a/test/test3.sh +++ b/test/test3.sh @@ -56,13 +56,14 @@ $' new "Re-Delete eth0 using none should generate error" expectfn 'curl -sX DELETE http://localhost/restconf/data/interfaces/interface=eth0' "Not Found" -return +if false; then # XXX restconf dont support patch and put fully -new "restconf PATCH config" -expectfn 'curl -sX PATCH -d {"type":"eth"} http://localhost/restconf/data/interfaces/interface=eth4' "" + new "restconf PATCH config" + expectfn 'curl -sX PATCH -d {"type":"eth"} http://localhost/restconf/data/interfaces/interface=eth4' "" -new "restconf PUT" -expectfn 'curl -sX PUT -d {"type":"eth"} http://localhost/restconf/data/interfaces/interface=eth5' "" + new "restconf PUT" + expectfn 'curl -sX PUT -d {"type":"eth"} http://localhost/restconf/data/interfaces/interface=eth5' "" +fi new "Kill restconf daemon" #sudo pkill -u www-data clixon_restconf