diff options
author | Hans Nilsson <[email protected]> | 2017-03-29 12:57:23 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 10:23:40 +0200 |
commit | 2f91341ae855b28c82024caa87c7541e94f68a18 (patch) | |
tree | 3f05864251d8f9f916bc8565ab49f53054290716 /lib/ssh/test/ssh_basic_SUITE.erl | |
parent | a9fc169d5d0ca63a3062800429e3a16169901ab3 (diff) | |
download | otp-2f91341ae855b28c82024caa87c7541e94f68a18.tar.gz otp-2f91341ae855b28c82024caa87c7541e94f68a18.tar.bz2 otp-2f91341ae855b28c82024caa87c7541e94f68a18.zip |
ssh: Make test suites pass
Diffstat (limited to 'lib/ssh/test/ssh_basic_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_basic_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_basic_SUITE.erl b/lib/ssh/test/ssh_basic_SUITE.erl index a9b6be222e..089d191fea 100644 --- a/lib/ssh/test/ssh_basic_SUITE.erl +++ b/lib/ssh/test/ssh_basic_SUITE.erl @@ -742,7 +742,8 @@ known_hosts(Config) when is_list(Config) -> Lines = string:tokens(binary_to_list(Binary), "\n"), [Line] = Lines, [HostAndIp, Alg, _KeyData] = string:tokens(Line, " "), - [Host, _Ip] = string:tokens(HostAndIp, ","), + [StoredHost, _Ip] = string:tokens(HostAndIp, ","), + true = ssh_test_lib:match_ip(StoredHost, Host), "ssh-" ++ _ = Alg, ssh:stop_daemon(Pid). %%-------------------------------------------------------------------- |