diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-04-24 01:24:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 10:24:30 +0200 |
commit | d5b7e9902cf9ac2c24be8792555cb017d268ce91 (patch) | |
tree | 49aea07a4a3b95ca1c317afde6b9f043a1120078 /tests/stdlib | |
parent | d5d35944575fe6fccbacb6f3653a9be8208e1a17 (diff) | |
download | Nim-d5b7e9902cf9ac2c24be8792555cb017d268ce91.tar.gz |
fix nim CI; fix local testament (#14102)
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/thttpclient_ssl.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stdlib/thttpclient_ssl.nim b/tests/stdlib/thttpclient_ssl.nim index aa278c811..2e9d1c5be 100644 --- a/tests/stdlib/thttpclient_ssl.nim +++ b/tests/stdlib/thttpclient_ssl.nim @@ -124,4 +124,7 @@ when not defined(windows): let msg = getCurrentExceptionMsg() log "client: exception: " & msg # SSL_shutdown:shutdown while in init - check(msg.contains("shutdown while in init") or msg.contains("alert number 48")) + if not (msg.contains("shutdown while in init") or msg.contains("alert number 48") or + msg.contains("routines:CONNECT_CR_CERT:certificate verify failed")): + echo "CVerifyPeer exception: " & msg + check(false) |