aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-05-02 09:14:33 +0200
committerFredrik Gustafsson <[email protected]>2013-05-02 09:14:33 +0200
commitcd14a151051567cc19dfa3677799612366060801 (patch)
tree3713a9f0bbf8e45d235b74ff18d7563e317d03b2
parent1158dcc96c3a6a32a042bd6cc361f1c035e9cca1 (diff)
parent0b519fc83433e4849f282b528105c8804a3b7db4 (diff)
downloadotp-cd14a151051567cc19dfa3677799612366060801.tar.gz
otp-cd14a151051567cc19dfa3677799612366060801.tar.bz2
otp-cd14a151051567cc19dfa3677799612366060801.zip
Merge branch 'fredrik/common_test/wait_for_linebreak_doc' into maint
* fredrik/common_test/wait_for_linebreak_doc: Added further doc common_test: Added documentation for wait_for_linebreak option
-rw-r--r--lib/common_test/src/ct_telnet.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index beb3c1d649..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)</pre>
+%%% 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)</pre>
%%% <p>These parameters can be altered by the user with the following
%%% configuration term:</p>
%%% <pre>
@@ -37,7 +39,8 @@
%%% {command_timeout,Millisec},
%%% {reconnection_attempts,N},
%%% {reconnection_interval,Millisec},
-%%% {keep_alive,Bool}]}.</pre>
+%%% {keep_alive,Bool},
+%% {wait_for_linebreak, Bool}]}.</pre>
%%% <p><code>Millisec = integer(), N = integer()</code></p>
%%% <p>Enter the <code>telnet_settings</code> term in a configuration
%%% file included in the test and ct_telnet will retrieve the information