diff options
author | Peter Andersson <[email protected]> | 2014-03-10 16:22:25 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-12 16:00:14 +0100 |
commit | 5667601be38a2e35fbbe59491f448f947bfcc73c (patch) | |
tree | 005d9d79402b2a99b7411c329bb5bf58051fc827 /lib/common_test/src/unix_telnet.erl | |
parent | 609349f6acac4b03b8cac53eb9ad456a2b2d5536 (diff) | |
download | otp-5667601be38a2e35fbbe59491f448f947bfcc73c.tar.gz otp-5667601be38a2e35fbbe59491f448f947bfcc73c.tar.bz2 otp-5667601be38a2e35fbbe59491f448f947bfcc73c.zip |
Add test cases and fix some problems with logging and with the telnet client
Diffstat (limited to 'lib/common_test/src/unix_telnet.erl')
-rw-r--r-- | lib/common_test/src/unix_telnet.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/unix_telnet.erl b/lib/common_test/src/unix_telnet.erl index 5854725c17..b05386a5ab 100644 --- a/lib/common_test/src/unix_telnet.erl +++ b/lib/common_test/src/unix_telnet.erl @@ -143,13 +143,13 @@ connect1(Name,Ip,Port,Timeout,KeepAlive,Username,Password) -> {ok,[{prompt,_OtherPrompt1},{prompt,_OtherPrompt2}],_} -> {ok,Pid}; Error -> - log(Name,error, + log(Name,conn_error, "Did not get expected prompt from ~p:~p\n~p\n", [Ip,Port,Error]), {error,Error} end; Error -> - log(Name,error, + log(Name,conn_error, "Could not open telnet connection to ~p:~p\n~p\n", [Ip,Port,Error]), Error |