aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_sftp_SUITE.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2011-05-16 15:25:03 +0200
committerNiclas Eklund <[email protected]>2011-05-19 14:38:24 +0200
commit26e3b024571952284e026a4f8d3ef55777dc4386 (patch)
tree71e7130b2aee10195a9a5831e696695b82806430 /lib/ssh/test/ssh_sftp_SUITE.erl
parent2fb636273a06d31f0c24dcecf9302cd6561f02af (diff)
downloadotp-26e3b024571952284e026a4f8d3ef55777dc4386.tar.gz
otp-26e3b024571952284e026a4f8d3ef55777dc4386.tar.bz2
otp-26e3b024571952284e026a4f8d3ef55777dc4386.zip
Generic key management for test suites.
Diffstat (limited to 'lib/ssh/test/ssh_sftp_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_sftp_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl
index caaf4e6243..c96b6de3ea 100644
--- a/lib/ssh/test/ssh_sftp_SUITE.erl
+++ b/lib/ssh/test/ssh_sftp_SUITE.erl
@@ -49,10 +49,8 @@ init_per_suite(Config) ->
case {catch crypto:start(),catch ssh:start()} of
{ok,ok} ->
Dir = ?config(priv_dir, Config),
- ssh_test_lib:save_known_hosts(Dir),
- %% More like copy_id_keys!!!
{ok, _} = ssh_test_lib:get_id_keys(Dir),
- ssh_test_lib:make_dsa_public_key_file(42, 43, 44, 45, Config),
+ ssh_test_lib:make_dsa_files(Config),
Config;
{ok,_} ->
{skip,"Could not start ssh!"};
@@ -72,7 +70,6 @@ end_per_suite(Config) ->
crypto:stop(),
Dir = ?config(priv_dir, Config),
ssh_test_lib:remove_id_keys(Dir),
- ssh_test_lib:restore_known_hosts(Dir),
Config.
%%--------------------------------------------------------------------