aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_to_openssl_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-09-07 15:54:32 +0200
committerIngela Anderton Andin <[email protected]>2016-09-07 16:05:23 +0200
commit76c93beeb89ecbcf1070190c95532e0d00d06278 (patch)
tree6611827fcea4b31cd4a5ab049356b8b2006caa20 /lib/ssl/test/ssl_to_openssl_SUITE.erl
parent61b1abd20322ad4f05eab7d53c333c6a1e91c296 (diff)
downloadotp-76c93beeb89ecbcf1070190c95532e0d00d06278.tar.gz
otp-76c93beeb89ecbcf1070190c95532e0d00d06278.tar.bz2
otp-76c93beeb89ecbcf1070190c95532e0d00d06278.zip
ssl: Make sure tests get a clean start
Diffstat (limited to 'lib/ssl/test/ssl_to_openssl_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_to_openssl_SUITE.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/ssl/test/ssl_to_openssl_SUITE.erl b/lib/ssl/test/ssl_to_openssl_SUITE.erl
index 9ae032503a..9ecfe5b0ea 100644
--- a/lib/ssl/test/ssl_to_openssl_SUITE.erl
+++ b/lib/ssl/test/ssl_to_openssl_SUITE.erl
@@ -119,12 +119,7 @@ init_per_suite(Config0) ->
catch crypto:stop(),
try crypto:start() of
ok ->
- ssl:stop(),
- application:load(ssl),
- ct:pal("Before clean: Version: ~p", [ssl:versions()]),
- application:unset_env(ssl, protocol_version),
- ct:pal("After clean: Version: ~p", [ssl:versions()]),
- ssl:start(),
+ ssl_test_lib:clean_start(),
{ok, _} = make_certs:all(proplists:get_value(data_dir, Config0),
proplists:get_value(priv_dir, Config0)),
Config1 = ssl_test_lib:make_dsa_cert(Config0),