aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-12-07 13:11:47 +0100
committerHans Nilsson <[email protected]>2017-12-21 15:31:45 +0100
commit4ec9ee4fc8893b526f1686da66b90bdf69f8f343 (patch)
tree69a499a4d1d9b976126999d04ae012cbc0399cd2 /lib/ssh/test/ssh_test_lib.erl
parent80633af75bb2c3f889d69cf22a0102bf5eaefe31 (diff)
downloadotp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.tar.gz
otp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.tar.bz2
otp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.zip
ssh: Better reports in some test case failures
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_test_lib.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl
index 8473a5031e..2d7bf75847 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -598,6 +598,7 @@ check_ssh_client_support2(P) ->
{P, {data, _A}} ->
check_ssh_client_support2(P);
{P, {exit_status, E}} ->
+ ct:log("~p:~p exit_status:~n~p",[?MODULE,?LINE,E]),
E
after 5000 ->
ct:log("Openssh command timed out ~n"),
@@ -649,14 +650,14 @@ default_algorithms(sshc, DaemonOptions) ->
{hostport,Srvr,{_Host,Port}} ->
spawn(fun()-> os:cmd(lists:concat(["ssh -o \"StrictHostKeyChecking no\" -p ",Port," localhost"])) end)
after ?TIMEOUT ->
- ct:fail("No server respons 1")
+ ct:fail("No server respons (timeout) 1")
end,
receive
{result,Srvr,L} ->
L
after ?TIMEOUT ->
- ct:fail("No server respons 2")
+ ct:fail("No server respons (timeout) 2")
end.
run_fake_ssh({ok,InitialState}) ->