diff options
author | Ingela Anderton Andin <ingela@erlang.org> | 2013-12-03 11:13:48 +0100 |
---|---|---|
committer | Ingela Anderton Andin <ingela@erlang.org> | 2013-12-03 11:13:48 +0100 |
commit | 272e306803e5547f46848e288219247bf0a24849 (patch) | |
tree | 0aa0000ee6fd909ef359002b25b1658fd9c3659f | |
parent | 239ce1c4781fe4fc25c55795573654453887f507 (diff) | |
download | otp-272e306803e5547f46848e288219247bf0a24849.tar.gz otp-272e306803e5547f46848e288219247bf0a24849.tar.bz2 otp-272e306803e5547f46848e288219247bf0a24849.zip |
inets: Add crypto start check to ssl test cases
-rw-r--r-- | lib/inets/test/httpd_SUITE.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl index 5dca76b76b..ef801f91c7 100644 --- a/lib/inets/test/httpd_SUITE.erl +++ b/lib/inets/test/httpd_SUITE.erl @@ -222,6 +222,15 @@ init_per_group(ipv6 = _GroupName, Config) -> _ -> {skip, "Host does not support IPv6"} end; +init_per_group(essl, Config) -> + catch crypto:stop(), + case (catch crypto:start()) of + ok -> + Config; + _ -> + {skip, "Crypto not startable"} + end; + init_per_group(_GroupName, Config) -> Config. |