aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_gen_conn.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2016-07-12 12:55:08 +0200
committerPeter Andersson <[email protected]>2016-07-23 10:40:32 +0200
commitdbb3b87a74992ca5e3e678ba747ccea6411c3f57 (patch)
treef2f90efda0cbcdf6b1f600244c04eff9823724c4 /lib/common_test/src/ct_gen_conn.erl
parent5cf780148575f1ea4c460d7c9783831e6fbce9ff (diff)
downloadotp-dbb3b87a74992ca5e3e678ba747ccea6411c3f57.tar.gz
otp-dbb3b87a74992ca5e3e678ba747ccea6411c3f57.tar.bz2
otp-dbb3b87a74992ca5e3e678ba747ccea6411c3f57.zip
Fix error with duplicated printouts by ct_telnet:expect/3
OTP-13730
Diffstat (limited to 'lib/common_test/src/ct_gen_conn.erl')
-rw-r--r--lib/common_test/src/ct_gen_conn.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_gen_conn.erl b/lib/common_test/src/ct_gen_conn.erl
index e46fd77383..e28c89ab1d 100644
--- a/lib/common_test/src/ct_gen_conn.erl
+++ b/lib/common_test/src/ct_gen_conn.erl
@@ -27,7 +27,7 @@
-export([start/4, stop/1, get_conn_pid/1, check_opts/1]).
-export([call/2, call/3, return/2, do_within_time/2]).
--export([log/3, start_log/1, cont_log/2, end_log/0]).
+-export([log/3, start_log/1, cont_log/2, cont_log_no_timestamp/2, end_log/0]).
%%----------------------------------------------------------------------
%% Exported types
@@ -175,6 +175,14 @@ cont_log(Format,Args) ->
log(cont_log,[Format,Args]).
%%%-----------------------------------------------------------------
+%%% @spec cont_log_no_timestamp(Format,Args) -> ok
+%%%
+%%% @doc Log activities on the current connection (tool-internal use only).
+%%% @see ct_logs:cont_log/2
+cont_log_no_timestamp(Format,Args) ->
+ log(cont_log_no_timestamp,[Format,Args]).
+
+%%%-----------------------------------------------------------------
%%% @spec end_log() -> ok
%%%
%%% @doc Log activities on the current connection (tool-internal use only).