aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans <[email protected]>2015-06-04 18:12:35 +0200
committerHans <[email protected]>2015-06-04 18:12:35 +0200
commit5de5f9660245c5626bdbc7afc1528105d32a1d96 (patch)
treeec2ca2ccaee216d11b025d0600a4eb70a34997a0 /lib/ssh/test/ssh_test_lib.erl
parent802f297763e12ee02b1669fd1fcf502aee4665b7 (diff)
downloadotp-5de5f9660245c5626bdbc7afc1528105d32a1d96.tar.gz
otp-5de5f9660245c5626bdbc7afc1528105d32a1d96.tar.bz2
otp-5de5f9660245c5626bdbc7afc1528105d32a1d96.zip
ssh: add empty password to the probing ssh_test_lib:openssh_sanity_check/1
This is to give a quick end if the test is run a maskin where it can't log in to the OpenSSH server.
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl
index 8ca05746db..d08afdfb90 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -361,7 +361,7 @@ do_inet_port(Node) ->
openssh_sanity_check(Config) ->
ssh:start(),
- case ssh:connect("localhost", 22, []) of
+ case ssh:connect("localhost", 22, [{password,""}]) of
{ok, Pid} ->
ssh:close(Pid),
ssh:stop(),