diff options
author | Peter Andersson <[email protected]> | 2014-03-10 01:40:14 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-12 16:00:14 +0100 |
commit | 609349f6acac4b03b8cac53eb9ad456a2b2d5536 (patch) | |
tree | 73d79e54d48a77b3b711cf19941b6d3c433cc5ff /lib/common_test/src/unix_telnet.erl | |
parent | d6fb44e0575ecd022c30d5c6a7503c8849d98fa9 (diff) | |
download | otp-609349f6acac4b03b8cac53eb9ad456a2b2d5536.tar.gz otp-609349f6acac4b03b8cac53eb9ad456a2b2d5536.tar.bz2 otp-609349f6acac4b03b8cac53eb9ad456a2b2d5536.zip |
Get ct_telnet_client to print all data from server to log
Diffstat (limited to 'lib/common_test/src/unix_telnet.erl')
-rw-r--r-- | lib/common_test/src/unix_telnet.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/unix_telnet.erl b/lib/common_test/src/unix_telnet.erl index e049c3bf39..5854725c17 100644 --- a/lib/common_test/src/unix_telnet.erl +++ b/lib/common_test/src/unix_telnet.erl @@ -109,7 +109,7 @@ connect(ConnName,Ip,Port,Timeout,KeepAlive,Extra) -> connect1(Name,Ip,Port,Timeout,KeepAlive,Username,Password) -> start_gen_log("unix_telnet connect"), Result = - case ct_telnet_client:open(Ip,Port,Timeout,KeepAlive) of + case ct_telnet_client:open(Ip,Port,Timeout,KeepAlive,Name) of {ok,Pid} -> case ct_telnet:silent_teln_expect(Name,Pid,[], [prompt],?prx,[]) of |