From dbb3b87a74992ca5e3e678ba747ccea6411c3f57 Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Tue, 12 Jul 2016 12:55:08 +0200 Subject: Fix error with duplicated printouts by ct_telnet:expect/3 OTP-13730 --- lib/common_test/src/ct_gen_conn.erl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/common_test/src/ct_gen_conn.erl') 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 @@ -174,6 +174,14 @@ start_log(Heading) -> 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 %%% -- cgit v1.2.3