diff --git a/test/test_restconf.sh b/test/test_restconf.sh index fa7e29f7..ec8344b5 100755 --- a/test/test_restconf.sh +++ b/test/test_restconf.sh @@ -329,7 +329,7 @@ function testrun() # http2-prior knowledge if [ $proto = http ]; then # see (2) https to http port in restconf_main_native.c new "restconf GET http/2 prior-knowledge (http)" - expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta 2>&1)" "16 52 55" # "Error in the HTTP2 framing layer" "Connection reset by peer" + expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta 2>&1)" "16 52 55 56" # "Error in the HTTP2 framing layer" "Connection reset by peer" else new "restconf GET https/2 prior-knowledge" expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta)" 0 "HTTP/$HVER 200" "" "" "" @@ -423,7 +423,7 @@ function testrun() # http2-prior knowledge if [ $proto = http ]; then # see (2) https to http port in restconf_main_native.c new "restconf GET http/2 prior-knowledge (http)" - expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta 2>&1)" "16 52 55" # "Error in the HTTP2 framing layer" "Connection reset by peer" + expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta 2>&1)" "16 52 55 56" # "Error in the HTTP2 framing layer" "Connection reset by peer" else new "restconf GET https/2 prior-knowledge" expectpart "$(curl $CURLOPTS --http2-prior-knowledge -X GET $proto://$addr/.well-known/host-meta)" 0 "HTTP/$HVER 200" "" "" "" diff --git a/test/test_restconf_http_upgrade.sh b/test/test_restconf_http_upgrade.sh index 6de3a890..572d2312 100755 --- a/test/test_restconf_http_upgrade.sh +++ b/test/test_restconf_http_upgrade.sh @@ -104,7 +104,7 @@ function testrun() # http/2-only is always an error in http/1 + http/2 mode new "restconf http2 prior-knowledge (h2:$h2enable)" echo "curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta" - expectpart "$(curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta 2>&1)" "16 52 55" + expectpart "$(curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta 2>&1)" "16 52 55 56" elif [ ${HAVE_LIBNGHTTP2} = true -a ${HAVE_HTTP1} = false ]; then # http/2 only @@ -165,7 +165,7 @@ function testrun() # http/2-only is always an error in http/1 + http/2 mode new "restconf http2 prior-knowledge (h2:$h2enable)" echo "curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta" - expectpart "$(curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta 2>&1)" "16 52 55" + expectpart "$(curl -Ssik --http2-prior-knowledge -X GET http://localhost/.well-known/host-meta 2>&1)" "16 52 55 56" fi