diff options
author | Hans Nilsson <[email protected]> | 2016-02-23 16:33:12 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-02-23 16:33:12 +0100 |
commit | ae6677714f4f8f1684e9d95997be68930d263d64 (patch) | |
tree | 8f0040e5f345a5057f4645cc58f6d9d2b9f97e74 /lib/ssh/test/ssh_to_openssh_SUITE.erl | |
parent | 1f1d0b942b950a5a2bec67a3110c85721db9cb5c (diff) | |
parent | 739a8f167d8adbb85f3c116c8c3bb20263f15349 (diff) | |
download | otp-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_to_openssh_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_to_openssh_SUITE.erl | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl index 67a61d3c11..37885dfdef 100644 --- a/lib/ssh/test/ssh_to_openssh_SUITE.erl +++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl @@ -33,6 +33,9 @@ %% Common Test interface functions ----------------------------------- %%-------------------------------------------------------------------- +suite() -> + [{timetrap,{minutes,5}}]. + all() -> case os:find_executable("ssh") of false -> @@ -57,21 +60,14 @@ groups() -> ]. init_per_suite(Config) -> - catch crypto:stop(), - case catch crypto:start() of - ok -> - case gen_tcp:connect("localhost", 22, []) of - {error,econnrefused} -> - {skip,"No openssh deamon"}; - _ -> - ssh_test_lib:openssh_sanity_check(Config) - end; - _Else -> - {skip,"Could not start crypto!"} + case gen_tcp:connect("localhost", 22, []) of + {error,econnrefused} -> + {skip,"No openssh deamon"}; + _ -> + ssh_test_lib:openssh_sanity_check(Config) end. end_per_suite(_Config) -> - crypto:stop(), ok. init_per_group(erlang_server, Config) -> |