aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_telnet_SUITE_data
AgeCommit message (Collapse)Author
2019-01-31[ct] Add option {newline,string()} to ct_telnet:cmd and ct_telnet:sendSiri Hansen
By default, each command is appended with "\n", but in some cases a command must end with "\r\n" to evaluate correctly. This can now be specified with option {newline,"\r\n"}.
2019-01-30[ct] Improve error handling of bad regular expressions to ct_telnetSiri Hansen
2016-05-25Retry ct_telnet:get_data if no data is received after short waitSiri Hansen
ct_telnet_own_server_SUITE:large_string tests that the client can receive a chopped up string. To make sure the right thing is tested, a SHORT timer is used before calling ct_telnet:get_data, but on some slow machines the the timer is too short to allow data to be received. To overcome this, the test now re-tries ct_telnet:get_data a few times before giving up.
2015-05-04Introduce wait_for_prompt optionPeter Andersson
OTP-12688
2015-03-18Enable timetrap scaling for all testsPeter Andersson
2015-02-06Make sure total_timeout can get triggered before idle_timeoutPeter Andersson
OTP-12335
2014-11-27[ct_telnet] Fix test case 'server_speaks'Siri Hansen
This test case simulates that the server spontaneously sends data. By changing ct_telnet:send to ct_telnet_client:send_data this simulations makes more sense - since client's buffers are not flushed. Also removed the newline at the end of "echo_no_prompt" command. Since newline is added automatically, the explicit newline at the end of the command causes a prompt to be sent which is not expected.
2014-11-27[ct_telnet] Extend timeout in test from 1 to 2 sekSiri Hansen
This is for stabilizing test cases.
2014-11-07[ct] Add 'newline' option to send functions in ct_telnetSiri Hansen
ct_telnet by default adds a newline to all command strings before sending to the telnet server. In some situations this is not desired, for example when sending telnet command sequences (prefixed with the Interprete As Command, IAC, character). In such cases, the new option can be used. Example - send an Are Your There (AYT) sequence: ct_telnet:send(Connection, [255,246], [{newline,false}]).
2014-04-16Fix problem with substring in large message getting incorrectly reversedPeter Andersson
OTP-11871
2014-03-22Add test casesPeter Andersson
2014-03-12Add test cases and fix some problems with logging and with the telnet clientPeter Andersson
2014-03-12Get ct_telnet_client to print all data from server to logPeter Andersson
2014-01-28Fix remaining problems using raw telnet logging for parallel test casesPeter Andersson
2014-01-28Make it possible to use raw telnet logs in parallel test case groupsPeter Andersson
2014-01-27Implement tests for logging traffic for multiple telnet connectionsPeter Andersson
Also fix remaining problems in source code
2014-01-27Add and improve test casesPeter Andersson
Also correct some issues found during test
2014-01-27Implement new telnet logging systemPeter Andersson
2013-05-24[common_test] Unregister connection if killedSiri Hansen
The symptom of this bug was that a (named) telnet connection which was open and hanging during a timetrap timeout could no longer be opened again in subsequent test cases. Since the connection was hanging, ct_telnet:close/1 which was called during end_per_testcase would fail (timeout) and cause common_test to brutally kill the connection. The bug was that the connection was not unregistered at this point. When trying to open the connection again in the next testcase, common_test attempted to reuse the same connection since it had not been unregistered. This failed since the connection in fact was dead.
2013-05-17[common_test] Add new option 'no_prompt_check' to ct_telnet:expect/3.Siri Hansen
If this option is used, ct_telnet will not search for a prompt before attempting to match the given pattern. This is useful if, for instance, the Pattern itself matches the prompt or if the telnet session starts interactive programs which do not display the normal prompt.
2013-05-14[common_test] Add test for ct_telnet using own telnet serverSiri Hansen
The new test suite ct_telnet_SUITE_data/ct_telnet_own_server_SUITE uses the very simple telnet_server.erl located in the common_test test directory.
2013-03-27Added testcases for ct_telnet and opportunity to connect to telnet without ↵Fredrik Gustafsson
user and password.