Test: add curl error 56
This commit is contained in:
parent
5f38b50eab
commit
d6555e4d1f
1 changed files with 2 additions and 2 deletions
|
|
@ -372,7 +372,7 @@ function testrun()
|
||||||
expectpart "$(curl $CURLOPTS --http1.0 -X GET $proto://$addr/.well-known/host-meta | tr '\0' '\n')" 0 "" --not-- 'HTTP'
|
expectpart "$(curl $CURLOPTS --http1.0 -X GET $proto://$addr/.well-known/host-meta | tr '\0' '\n')" 0 "" --not-- 'HTTP'
|
||||||
else
|
else
|
||||||
new "restconf GET https/1.0 - close"
|
new "restconf GET https/1.0 - close"
|
||||||
expectpart "$(curl $CURLOPTS --http1.0 -X GET $proto://$addr/.well-known/host-meta)" 52 "" --not-- 'HTTP'
|
expectpart "$(curl $CURLOPTS --http1.0 -X GET $proto://$addr/.well-known/host-meta)" "52 56" "" --not-- 'HTTP'
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -381,7 +381,7 @@ function testrun()
|
||||||
expectpart "$(curl $CURLOPTS --http1.1 -X GET $proto://$addr/.well-known/host-meta | tr '\0' '\n')" 0 --not-- 'HTTP'
|
expectpart "$(curl $CURLOPTS --http1.1 -X GET $proto://$addr/.well-known/host-meta | tr '\0' '\n')" 0 --not-- 'HTTP'
|
||||||
else
|
else
|
||||||
new "restconf GET https/1.1 - close"
|
new "restconf GET https/1.1 - close"
|
||||||
expectpart "$(curl $CURLOPTS --http1.1 -X GET $proto://$addr/.well-known/host-meta)" 52 --not-- 'HTTP'
|
expectpart "$(curl $CURLOPTS --http1.1 -X GET $proto://$addr/.well-known/host-meta)" "52 56" --not-- 'HTTP'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $proto = http ]; then
|
if [ $proto = http ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue