diff options
author | Ingela Anderton Andin <[email protected]> | 2012-01-10 17:37:57 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-01-11 15:04:56 +0100 |
commit | b75d8ba523acfe1a0b23aec6211da1f2d5fd2c42 (patch) | |
tree | a3b0957465dba753e0b19332ef8802a20f25226a /lib/ssh/test/ssh_sftpd_SUITE.erl | |
parent | 4d24c6be73d8c73cccd4780e819f0a5148b6f717 (diff) | |
download | otp-b75d8ba523acfe1a0b23aec6211da1f2d5fd2c42.tar.gz otp-b75d8ba523acfe1a0b23aec6211da1f2d5fd2c42.tar.bz2 otp-b75d8ba523acfe1a0b23aec6211da1f2d5fd2c42.zip |
Improve test case structure so that test should pass on all platforms
Diffstat (limited to 'lib/ssh/test/ssh_sftpd_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftpd_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl index bfe54a3e75..e878b991a0 100644 --- a/lib/ssh/test/ssh_sftpd_SUITE.erl +++ b/lib/ssh/test/ssh_sftpd_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2011. All Rights Reserved. +%% Copyright Ericsson AB 2006-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -53,7 +53,7 @@ %% variable, but should NOT alter/remove any existing entries. %%-------------------------------------------------------------------- init_per_suite(Config) -> - case {catch ssh:stop(),catch crypto:start()} of + case {catch crypto:start(),catch ssh:start()} of {ok,ok} -> ssh_test_lib:make_dsa_files(Config), Config; |