From 453e97ef6bc57387f6dfdf9716adf439b471d2be Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Sat, 4 Mar 2023 10:42:05 +0100 Subject: [PATCH] Test: removed http/1.0 test that seems to stop working in new curl version? --- test/test_restconf.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test_restconf.sh b/test/test_restconf.sh index a9742247..9ac72a47 100755 --- a/test/test_restconf.sh +++ b/test/test_restconf.sh @@ -316,10 +316,6 @@ function testrun() expectpart "$(curl $CURLOPTS -X GET $proto://$addr/.well-known/host-meta)" 0 "HTTP/$HVER 200" "" "" "" echo "fcgi or native+http/1 or native+http/1+http/2" - if [ "${WITH_RESTCONF}" = "native" ]; then # XXX does not work with nginx - new "restconf GET http/1.0 - returns 1.0" - expectpart "$(curl $CURLOPTS --http1.0 -X GET $proto://$addr/.well-known/host-meta)" 0 'HTTP/1.0 200 OK' "" "" "" - fi new "restconf GET http/1.1" expectpart "$(curl $CURLOPTS --http1.1 -X GET $proto://$addr/.well-known/host-meta)" 0 'HTTP/1.1 200 OK' "" "" ""