diff options
author | Hans Nilsson <[email protected]> | 2018-03-01 16:13:54 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-03-01 16:14:36 +0100 |
commit | 21fcf565b190efd0174bd2e7005ed98797c8c026 (patch) | |
tree | 82caa634eb64dfe4e84714517579a4d622ae657f /lib/ssh/test/ssh_test_lib.erl | |
parent | 9fe3d672c9c1f61ae648dcdbc9452a8bd3368ce5 (diff) | |
download | otp-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.erl | 6 |
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}; |