aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-12-03 11:13:48 +0100
committerIngela Anderton Andin <[email protected]>2013-12-03 11:13:48 +0100
commit272e306803e5547f46848e288219247bf0a24849 (patch)
tree0aa0000ee6fd909ef359002b25b1658fd9c3659f /lib/inets
parent239ce1c4781fe4fc25c55795573654453887f507 (diff)
downloadotp-272e306803e5547f46848e288219247bf0a24849.tar.gz
otp-272e306803e5547f46848e288219247bf0a24849.tar.bz2
otp-272e306803e5547f46848e288219247bf0a24849.zip
inets: Add crypto start check to ssl test cases
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/test/httpd_SUITE.erl9
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.