test arm curl different return values
This commit is contained in:
parent
b46418d774
commit
df05acdc9e
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ EOF
|
||||||
expectpart "$(curl $CURLOPTS --key $certdir/limited.key --cert $certdir/limited.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" "16 35 55 56" # 55 "certificate expired"
|
expectpart "$(curl $CURLOPTS --key $certdir/limited.key --cert $certdir/limited.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" "16 35 55 56" # 55 "certificate expired"
|
||||||
|
|
||||||
new "too weak cert (sign w md5)"
|
new "too weak cert (sign w md5)"
|
||||||
expectpart "$(curl $CURLOPTS --key $certdir/mymd5.key --cert $certdir/mymd5.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" 58 "md too weak"
|
expectpart "$(curl $CURLOPTS --key $certdir/mymd5.key --cert $certdir/mymd5.crt -X GET $RCPROTO://localhost/restconf/data/example:x 2>&1)" "35 58" # "md too weak"
|
||||||
|
|
||||||
# Havent been able to generate "wrong CA"
|
# Havent been able to generate "wrong CA"
|
||||||
# new "invalid cert from wrong CA"
|
# new "invalid cert from wrong CA"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue