diff options
author | Hans Nilsson <[email protected]> | 2016-02-17 13:40:42 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-02-22 11:58:12 +0100 |
commit | 0f54fc85b91b5ad244534238aeab5c0bc5f93815 (patch) | |
tree | b51d804bc41f061225b401f7d648b4bd8125aed3 /lib/ssh/test/ssh_upgrade_SUITE.erl | |
parent | 8626ba1bf825899ffad119aca5ae126176b0b6d3 (diff) | |
download | otp-0f54fc85b91b5ad244534238aeab5c0bc5f93815.tar.gz otp-0f54fc85b91b5ad244534238aeab5c0bc5f93815.tar.bz2 otp-0f54fc85b91b5ad244534238aeab5c0bc5f93815.zip |
ssh: remove calls to crypto:start|stop
Conflicts:
lib/ssh/test/ssh_upgrade_SUITE.erl
Diffstat (limited to 'lib/ssh/test/ssh_upgrade_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_upgrade_SUITE.erl | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/lib/ssh/test/ssh_upgrade_SUITE.erl b/lib/ssh/test/ssh_upgrade_SUITE.erl index 1a2a8de08c..006483d3ee 100644 --- a/lib/ssh/test/ssh_upgrade_SUITE.erl +++ b/lib/ssh/test/ssh_upgrade_SUITE.erl @@ -48,27 +48,17 @@ all() -> ]. init_per_suite(Config0) -> - catch crypto:stop(), - try {crypto:start(), erlang:system_info({wordsize, internal}) == - erlang:system_info({wordsize, external})} of - {ok, true} -> - case ct_release_test:init(Config0) of - {skip, Reason} -> - {skip, Reason}; - Config -> - ssh:start(), - Config - end; - {ok, false} -> - {skip, "Test server will not handle halfwordemulator correctly. Skip as halfwordemulator is deprecated"} - catch _:_ -> - {skip, "Crypto did not start"} + case ct_release_test:init(Config0) of + {skip, Reason} -> + {skip, Reason}; + Config -> + ssh:start(), + Config end. end_per_suite(Config) -> ct_release_test:cleanup(Config), ssh:stop(), - crypto:stop(), UserDir = ?config(priv_dir, Config), ssh_test_lib:clean_rsa(UserDir). |