aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_protocol_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-02-23 16:33:12 +0100
committerHans Nilsson <[email protected]>2016-02-23 16:33:12 +0100
commitae6677714f4f8f1684e9d95997be68930d263d64 (patch)
tree8f0040e5f345a5057f4645cc58f6d9d2b9f97e74 /lib/ssh/test/ssh_protocol_SUITE.erl
parent1f1d0b942b950a5a2bec67a3110c85721db9cb5c (diff)
parent739a8f167d8adbb85f3c116c8c3bb20263f15349 (diff)
downloadotp-ae6677714f4f8f1684e9d95997be68930d263d64.tar.gz
otp-ae6677714f4f8f1684e9d95997be68930d263d64.tar.bz2
otp-ae6677714f4f8f1684e9d95997be68930d263d64.zip
Merge branch 'maint'
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.erl23
1 files changed, 6 insertions, 17 deletions
diff --git a/lib/ssh/test/ssh_protocol_SUITE.erl b/lib/ssh/test/ssh_protocol_SUITE.erl
index 6b78a32a9b..cabdd35615 100644
--- a/lib/ssh/test/ssh_protocol_SUITE.erl
+++ b/lib/ssh/test/ssh_protocol_SUITE.erl
@@ -42,7 +42,8 @@
%%--------------------------------------------------------------------
suite() ->
- [{ct_hooks,[ts_install_cth]}].
+ [{ct_hooks,[ts_install_cth]},
+ {timetrap,{minutes,5}}].
all() ->
[{group,tool_tests},
@@ -579,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().