aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-12-03 11:13:48 +0100
committerIngela Anderton Andin <[email protected]>2014-02-05 10:32:27 +0100
commit91ec763a0a087516f4bd3de0baf07e326093b93a (patch)
tree6b4f28fe26cbc6195dcedf50d84bd03713708f50
parent58889fea10db8188fff663a89cd7660bdbe855fe (diff)
downloadotp-91ec763a0a087516f4bd3de0baf07e326093b93a.tar.gz
otp-91ec763a0a087516f4bd3de0baf07e326093b93a.tar.bz2
otp-91ec763a0a087516f4bd3de0baf07e326093b93a.zip
inets: Add crypto start check to ssl test cases
-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 b84a806305..a1600fa97f 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.