Test: more curl error codes, new version in alpine?
This commit is contained in:
parent
246fd81f57
commit
3e34a61bd2
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue