aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-04-28 12:04:25 +0200
committerHans Nilsson <[email protected]>2017-04-28 12:04:25 +0200
commit28bd10ec91b3e73aaef8756c6aa8b8daf92dfe9d (patch)
tree7aa103467c30c1cb23d6ff352b63db2f723a28eb /lib/ssh/test/ssh_test_lib.erl
parent3b9e917b6abf803eaa95ab66c5cb4fe31b7270cd (diff)
parentdfb0fed48117669bd69fd44d37fa83f264f5ca36 (diff)
downloadotp-28bd10ec91b3e73aaef8756c6aa8b8daf92dfe9d.tar.gz
otp-28bd10ec91b3e73aaef8756c6aa8b8daf92dfe9d.tar.bz2
otp-28bd10ec91b3e73aaef8756c6aa8b8daf92dfe9d.zip
Merge branch 'hans/ssh/cuddle_tests'
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 ab44fc8275..ded47ca4f6 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.
%%%----------------------------------------------------------------