From 07f133a26d88a015ba6957fdacde0ddd0f59704d Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Tue, 30 Apr 2013 09:37:23 +0200 Subject: common_test: Added documentation for wait_for_linebreak option --- lib/common_test/src/ct_telnet.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/common_test') diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl index beb3c1d649..93f76cf298 100644 --- a/lib/common_test/src/ct_telnet.erl +++ b/lib/common_test/src/ct_telnet.erl @@ -37,7 +37,8 @@ %%% {command_timeout,Millisec}, %%% {reconnection_attempts,N}, %%% {reconnection_interval,Millisec}, -%%% {keep_alive,Bool}]}. +%%% {keep_alive,Bool}, +%% {wait_for_linebreak, Bool}]}. %%%

Millisec = integer(), N = integer()

%%%

Enter the telnet_settings term in a configuration %%% file included in the test and ct_telnet will retrieve the information -- cgit v1.2.3 From 0b519fc83433e4849f282b528105c8804a3b7db4 Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Tue, 30 Apr 2013 10:07:54 +0200 Subject: Added further doc --- lib/common_test/src/ct_telnet.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/common_test') diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl index 93f76cf298..bd74991859 100644 --- a/lib/common_test/src/ct_telnet.erl +++ b/lib/common_test/src/ct_telnet.erl @@ -29,7 +29,9 @@ %%% Command timeout = 10 sec (time to wait for a command to return) %%% Max no of reconnection attempts = 3 %%% Reconnection interval = 5 sek (time to wait in between reconnection attempts) -%%% Keep alive = true (will send NOP to the server every 10 sec if connection is idle) +%%% Keep alive = true (will send NOP to the server every 10 sec if connection is idle) +%%% Wait for linebreak = true (Will expect answer from server to end with linebreak when +%%% using ct_telnet:expect) %%%

These parameters can be altered by the user with the following %%% configuration term:

%%%
-- 
cgit v1.2.3