fix nim CI; fix local testament (#14102)

This commit is contained in:
Timothee Cour 2020-04-24 01:24:30 -07:00 • committed by GitHub
commit d5b7e9902c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -101,11 +101,12 @@ template evaluate(exception_msg: string, category: Category, desc: string) =
if category in {good_broken, dubious_broken, bad_broken}:
skip()
if raised:
check exception_msg == "No SSL certificate found." or
# check exception_msg == "No SSL certificate found." or
doAssert exception_msg == "No SSL certificate found." or
exception_msg == "SSL Certificate check failed." or
exception_msg.contains("certificate verify failed") or
exception_msg.contains("key too small") or
exception_msg.contains "shutdown while in init"
exception_msg.contains "shutdown while in init", exception_msg
else:
# this is unexpected