adjust openssl test for Racket CS error message

This commit is contained in:
Matthew Flatt 2019-11-28 16:51:57 -07:00
parent 338955046d
commit b62de0e14d

View File

@ -62,7 +62,9 @@
verify-fail?
(exn? x)
;; late checking may abandon the connection
(regexp-match? #rx"^tcp-(?:read|write):" (exn-message x))))
(regexp-match?
#rx"(^tcp-(?:read|write):|error (reading from|writing to) stream port)"
(exn-message x))))
(lambda (x) (void))])
(let-values ([(in out) (ssl-accept ssl-listener)])
(check "Server: Accepted connection.~n" #t #t)