aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-04-20 20:47:13 +0200
committerHans Nilsson <[email protected]>2017-04-26 12:17:25 +0200
commitdfb0fed48117669bd69fd44d37fa83f264f5ca36 (patch)
treecfc6e3e064d7eae5f6ff5bdfee07be3fc274b060 /lib/ssh/test/ssh_test_lib.erl
parent6036156abfa955aed1ac384919a627843106c48e (diff)
downloadotp-dfb0fed48117669bd69fd44d37fa83f264f5ca36.tar.gz
otp-dfb0fed48117669bd69fd44d37fa83f264f5ca36.tar.bz2
otp-dfb0fed48117669bd69fd44d37fa83f264f5ca36.zip
ssh: add msg traceing on one testcase
ssh: Misc test case error logging improvments Conflicts: lib/ssh/test/ssh_to_openssh_SUITE.erl
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 6186d44890..d0919a7bec 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -39,8 +39,9 @@ connect(Port, Options) when is_integer(Port) ->
connect(any, Port, Options) ->
connect(hostname(), Port, Options);
connect(Host, Port, Options) ->
- ct:log("~p:~p Calling ssh:connect(~p, ~p, ~p)",[?MODULE,?LINE,Host, Port, Options]),
- {ok, ConnectionRef} = ssh:connect(Host, Port, Options),
+ R = ssh:connect(Host, Port, Options),
+ ct:log("~p:~p ssh:connect(~p, ~p, ~p)~n -> ~p",[?MODULE,?LINE,Host, Port, Options, R]),
+ {ok, ConnectionRef} = R,
ConnectionRef.
%%%----------------------------------------------------------------