From 0b78c9ded01ac83c42412c8140086f291b0bd345 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Fri, 25 Oct 2024 18:36:18 +0200 Subject: [PATCH] test: restconf status message removed --- test/test_http_data.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_http_data.sh b/test/test_http_data.sh index a990bbe9..7883c674 100755 --- a/test/test_http_data.sh +++ b/test/test_http_data.sh @@ -214,7 +214,7 @@ EOF TP/$HVER 200" "Content-Type: text/html" "Welcome to Clixon!" new "Server does not support list of medias Expect 406" - expectpart "$(curl $CURLOPTS -X GET -H 'Accept: wrong/media' $proto://localhost/data/index.html)" 0 "HTTP/$HVER 406" "content-type: text/html" "Unacceptable output encoding" + expectpart "$(curl $CURLOPTS -X GET -H 'Accept: wrong/media' $proto://localhost/data/index.html)" 0 "HTTP/$HVER 406" "content-type: text/html" # "Unacceptable output encoding" new "WWW get dir -> expect index.html" expectpart "$(curl $CURLOPTS -X GET -H 'Accept: text/html' $proto://localhost/data)" 0 "HTTP/$HVER 200" "Content-Type: text/html" "Welcome to Clixon!" @@ -235,7 +235,7 @@ TP/$HVER 200" "Content-Type: text/html" "Welcome to Clixon!" expectpart "$(curl $CURLOPTS -X GET -H 'Accept: text/html,*/*' $proto://localhost/data/example.css)" 0 "HTTP/$HVER 200" "Content-Type: text/css" "display: inline;" --not-- "Content-Type: text/html" new "WWW get css, operation-not-supported" - expectpart "$(curl $CURLOPTS -X GET -H 'Accept: text/html' $proto://localhost/data/example.css)" 0 "HTTP/$HVER 406" "operation-not-supported" + expectpart "$(curl $CURLOPTS -X GET -H 'Accept: text/html' $proto://localhost/data/example.css)" 0 "HTTP/$HVER 406" # "operation-not-supported" new "WWW head" expectpart "$(curl $CURLOPTS --head -H 'Accept: text/html' $proto://localhost/data/index.html)" 0 "HTTP/$HVER 200" "Content-Type: text/html" --not-- "Welcome to Clixon!"