diff options
author | Ingela Anderton Andin <[email protected]> | 2019-08-20 09:40:08 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-08-21 10:08:03 +0200 |
commit | 196327a132934fabe283946a576a345f76eec685 (patch) | |
tree | ff6b9a9516e920e517fe8b99451090a326edf4a5 /lib/ssl/test/ssl_test_lib.erl | |
parent | ec82235231c66d3de392507d684bd4c5263de07e (diff) | |
download | otp-196327a132934fabe283946a576a345f76eec685.tar.gz otp-196327a132934fabe283946a576a345f76eec685.tar.bz2 otp-196327a132934fabe283946a576a345f76eec685.zip |
ssl: Robustify test case
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r-- | lib/ssl/test/ssl_test_lib.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl index 5dd5fc45af..c4f294771a 100644 --- a/lib/ssl/test/ssl_test_lib.erl +++ b/lib/ssl/test/ssl_test_lib.erl @@ -493,7 +493,10 @@ check_result(Server, ServerMsg, Client, ClientMsg) -> ct:log("~p:~p~n Openssl ~s~n",[?MODULE,?LINE, Debug]), check_result(Server, ServerMsg, Client, ClientMsg); {Port,closed} when is_port(Port) -> - ct:log("~p:~p~n Openssl port ~n",[?MODULE,?LINE]), + ct:log("~p:~p~n Openssl port closed ~n",[?MODULE,?LINE]), + check_result(Server, ServerMsg, Client, ClientMsg); + {'EXIT', epipe} -> + ct:log("~p:~p~n Openssl port died ~n",[?MODULE,?LINE]), check_result(Server, ServerMsg, Client, ClientMsg); Unexpected -> Reason = {{expected, {Client, ClientMsg}}, |