aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_protocol_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-02-17 13:40:42 +0100
committerHans Nilsson <[email protected]>2016-02-22 11:58:12 +0100
commit0f54fc85b91b5ad244534238aeab5c0bc5f93815 (patch)
treeb51d804bc41f061225b401f7d648b4bd8125aed3 /lib/ssh/test/ssh_protocol_SUITE.erl
parent8626ba1bf825899ffad119aca5ae126176b0b6d3 (diff)
downloadotp-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_protocol_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_protocol_SUITE.erl20
1 files changed, 4 insertions, 16 deletions
diff --git a/lib/ssh/test/ssh_protocol_SUITE.erl b/lib/ssh/test/ssh_protocol_SUITE.erl
index 41087d2693..b6603d29e5 100644
--- a/lib/ssh/test/ssh_protocol_SUITE.erl
+++ b/lib/ssh/test/ssh_protocol_SUITE.erl
@@ -580,23 +580,11 @@ client_handles_keyboard_interactive_0_pwds(Config) ->
%%%---- init_suite and end_suite ---------------------------------------
start_apps(Config) ->
- catch crypto:stop(),
- case catch crypto:start() of
- ok ->
- catch ssh:stop(),
- ok = ssh:start(),
- [{stop_apps,
- fun() ->
- ssh:stop(),
- crypto:stop()
- end} | Config];
- _Else ->
- {skip, "Crypto could not be started!"}
- end.
-
+ catch ssh:stop(),
+ ok = ssh:start(),
+ Config.
-stop_apps(Config) ->
- (?v(stop_apps, Config, fun()-> ok end))(),
+stop_apps(_Config) ->
ssh:stop().