hs-tls/Tests.hs
Vincent Hanquez 07da6e5b06 Add monadic IO test that establish connection from a client and server.
The test establish a TLS connection on a socketpair, and then
check that by injecting arbitrary data in the client we receive
the exact same thing on the server side.

The test need more sophistication in general, as to arbitrarily test
TLS versions, different ciphers & key exchange, certificates, etc.
2010-11-30 08:31:09 +00:00

8 lines
162 B
Haskell

{-# LANGUAGE CPP #-}
import qualified Tests.Marshal as Marshal
import qualified Tests.Connection as Connection
main = do
Marshal.runTests
Connection.runTests