concurrency.promises continuations destructors io
io.backend.unix io.encodings.ascii io.files.temp io.sockets
io.sockets.secure io.sockets.secure.debug io.streams.duplex
-io.timeouts kernel namespaces threads tools.test ;
+io.timeouts kernel namespaces sequences system threads
+tools.test ;
QUALIFIED-WITH: concurrency.messaging qm
IN: io.sockets.secure.tests
input-stream get stream>> handle>> f >>connected drop
] server-test
client-test
-] [ premature-close-error? ] must-fail-with
+] [
+ os linux? [
+ ! XXX: we should throw premature-close-error here
+ "unexpected eof" subseq-index
+ ] [
+ premature-close-error?
+ ] if
+] must-fail-with
! Now, try validating the certificate. This should fail because its
! actually an invalid certificate