aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_algorithms_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-05-15 10:21:57 +0200
committerHans Nilsson <[email protected]>2017-05-17 15:18:46 +0200
commit18354f6a90f15e035ad76cda9c572c8b7a976a9a (patch)
treed2fc47a5b1b229c0e3c59db743cdbeafacd4835b /lib/ssh/test/ssh_algorithms_SUITE.erl
parent0df70c244df12c0a0678b04401e891e4683d7f69 (diff)
downloadotp-18354f6a90f15e035ad76cda9c572c8b7a976a9a.tar.gz
otp-18354f6a90f15e035ad76cda9c572c8b7a976a9a.tar.bz2
otp-18354f6a90f15e035ad76cda9c572c8b7a976a9a.zip
ssh: test case didn't set preferred_algorithms
Diffstat (limited to 'lib/ssh/test/ssh_algorithms_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_algorithms_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl
index 6e6269d3e0..c94309bb3e 100644
--- a/lib/ssh/test/ssh_algorithms_SUITE.erl
+++ b/lib/ssh/test/ssh_algorithms_SUITE.erl
@@ -260,8 +260,9 @@ sshc_simple_exec_os_cmd(Config) ->
%%--------------------------------------------------------------------
%% Connect to the ssh server of the OS
-sshd_simple_exec(_Config) ->
+sshd_simple_exec(Config) ->
ConnectionRef = ssh_test_lib:connect(22, [{silently_accept_hosts, true},
+ proplists:get_value(pref_algs,Config),
{user_interaction, false}]),
{ok, ChannelId0} = ssh_connection:session_channel(ConnectionRef, infinity),
success = ssh_connection:exec(ConnectionRef, ChannelId0,