diff options
author | Hans Nilsson <[email protected]> | 2015-10-19 16:02:50 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-10-19 17:47:15 +0200 |
commit | eea90ecdce24c15d39e77849d51729fcc06b74f8 (patch) | |
tree | 00e9a67ae4a585ad14c932759dc2983e6698d848 /lib/ssh/test/ssh_to_openssh_SUITE.erl | |
parent | c7cb718a480ae03fedb842bc999d516aee7870b3 (diff) | |
download | otp-eea90ecdce24c15d39e77849d51729fcc06b74f8.tar.gz otp-eea90ecdce24c15d39e77849d51729fcc06b74f8.tar.bz2 otp-eea90ecdce24c15d39e77849d51729fcc06b74f8.zip |
ssh: test suites probes ssh client
Previously we called the ssh client with the -Q option to query about supported algorithms. Since old clients do not support this and at least one lies, we now set up a fake server at let the ssh client start negotiation instead. Much more robust hopefully.
Diffstat (limited to 'lib/ssh/test/ssh_to_openssh_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_to_openssh_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl index 026fe545c1..ddc097a7eb 100644 --- a/lib/ssh/test/ssh_to_openssh_SUITE.erl +++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl @@ -88,7 +88,7 @@ init_per_group(erlang_server, Config) -> init_per_group(erlang_client, Config) -> CommonAlgs = ssh_test_lib:algo_intersection( ssh:default_algorithms(), - ssh_test_lib:default_algorithms("localhost", 22)), + ssh_test_lib:default_algorithms(sshd)), [{common_algs,CommonAlgs} | Config]; init_per_group(_, Config) -> Config. |