aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-03-01 16:13:54 +0100
committerHans Nilsson <[email protected]>2018-03-01 16:14:36 +0100
commit21fcf565b190efd0174bd2e7005ed98797c8c026 (patch)
tree82caa634eb64dfe4e84714517579a4d622ae657f /lib/ssh/test/ssh_test_lib.erl
parent9fe3d672c9c1f61ae648dcdbc9452a8bd3368ce5 (diff)
downloadotp-21fcf565b190efd0174bd2e7005ed98797c8c026.tar.gz
otp-21fcf565b190efd0174bd2e7005ed98797c8c026.tar.bz2
otp-21fcf565b190efd0174bd2e7005ed98797c8c026.zip
ssh: Extend ssh_basic_SUITE:packet_size_zero to ...:packet_size
Also got rid of some EXIT messages due to ssh_connection:shell/2 being async and ssh:close came too soon
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_test_lib.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl
index f97c3b1352..57ae2dbac2 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -53,10 +53,12 @@ daemon(Host, Options) ->
daemon(Host, Port, Options) ->
- %% ct:log("~p:~p Calling ssh:daemon(~p, ~p, ~p)",[?MODULE,?LINE,Host,Port,Options]),
+ ct:log("~p:~p Calling ssh:daemon(~p, ~p, ~p)",[?MODULE,?LINE,Host,Port,Options]),
case ssh:daemon(Host, Port, Options) of
{ok, Pid} ->
- {ok,L} = ssh:daemon_info(Pid),
+ R = ssh:daemon_info(Pid),
+ ct:log("~p:~p ssh:daemon_info(~p) ->~n ~p",[?MODULE,?LINE,Pid,R]),
+ {ok,L} = R,
ListenPort = proplists:get_value(port, L),
ListenIP = proplists:get_value(ip, L),
{Pid, ListenIP, ListenPort};