aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_sftp_SUITE.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2011-02-10 10:14:22 +0100
committerNiclas Eklund <[email protected]>2011-05-19 14:38:16 +0200
commit155763771ba8e581cec43732cf86fa781bbdd773 (patch)
treefa595a91270629f175eddee56aa332ad24f12d7b /lib/ssh/test/ssh_sftp_SUITE.erl
parentbafd9b83ef0e7b2ca40c43981eeb6fe8229804ea (diff)
downloadotp-155763771ba8e581cec43732cf86fa781bbdd773.tar.gz
otp-155763771ba8e581cec43732cf86fa781bbdd773.tar.bz2
otp-155763771ba8e581cec43732cf86fa781bbdd773.zip
Altering SSH test keys.
Diffstat (limited to 'lib/ssh/test/ssh_sftp_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_sftp_SUITE.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl
index 0c4a7f3b3f..123a12773b 100644
--- a/lib/ssh/test/ssh_sftp_SUITE.erl
+++ b/lib/ssh/test/ssh_sftp_SUITE.erl
@@ -103,13 +103,13 @@ init_per_testcase(_Case, Config) ->
{ok, ChannelPid, Connection} ->
{ChannelPid, Connection};
_Error ->
- {ok, _Sftpd} =
- ssh:daemon(?SFPD_PORT,
- [{system_dir, SysDir},
- {user_passwords,
- [{?USER, ?PASSWD}]},
- {failfun,
- fun ssh_test_lib:failfun/2}]),
+ {_Sftpd, _Host, _Port} =
+ ssh_test_lib:daemon(Host, ?SFPD_PORT,
+ [{system_dir, SysDir},
+ {user_passwords,
+ [{?USER, ?PASSWD}]},
+ {failfun,
+ fun ssh_test_lib:failfun/2}]),
Result = (catch ssh_sftp:start_channel(Host, ?SFPD_PORT,
[{user, ?USER},
{password, ?PASSWD},