aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
AgeCommit message (Collapse)Author
2016-06-08Update ct:reload_config docs since {error, Reason} can be returnedZandra Hird
2016-06-08Merge branch 'zandra/test_server/unmatched_returns/OTP-13345'Zandra Hird
* zandra/test_server/unmatched_returns/OTP-13345: vts - Fix unmatched_return warnings test_server_sup - Fix unmatched_return warnings test_server_node - Fix unmatched_return warnings test_server_io - Fix unmtached_return warnings test_server_gl - Fix unmatched_return warnings test_server_ctrl - Fix unmatched_return warnings test_server - fix unmatched_return warnings remove unused purify functions
2016-06-08Merge branch 'peppe/common_test/log_tests'Peter Andersson
* peppe/common_test/log_tests: Write suite that tests the API for printing to log
2016-06-08Merge branch 'peppe/common_test/fix_failing_tests'Peter Andersson
* peppe/common_test/fix_failing_tests: Make sure test node shuts down before skipping suite Measure file i/o overhead and skip test if the speed is too slow Skip test cases if cover or debug is running
2016-06-07vts - Fix unmatched_return warningsZandra
2016-06-07test_server_sup - Fix unmatched_return warningsZandra
2016-06-07test_server_node - Fix unmatched_return warningsZandra Hird
2016-06-07test_server_io - Fix unmtached_return warningsZandra
2016-06-07test_server_gl - Fix unmatched_return warningsZandra
2016-06-07test_server_ctrl - Fix unmatched_return warningsZandra
2016-06-07test_server - fix unmatched_return warningsZandra
2016-06-07Write suite that tests the API for printing to logPeter Andersson
2016-06-07remove unused purify functionsZandra
2016-06-07ct_util: Fix unmatched_return warningsZandra
2016-06-07erl2html2: Fix unmatched_return warningsZandra
2016-06-07cth_conn_log: Fix unmatched_return warningsZandra
2016-06-07ct_webtool: Fix unmatched_return warningsZandra
2016-06-07ct_telnet: Fix unmatched_return warningsZandra
2016-06-07ct_ssh: Fix unmatched_return warningsZandra
2016-06-07ct_snmp: Fix unmatched_return warningsZandra
2016-06-07ct_slave: Fix unmatched_return warningsZandra
2016-06-07ct_rpc: Fix unmatched_return warningsZandra
2016-06-07ct_repeat: Fix unmatched_return warningsZandra
2016-06-07ct_release_test: Fix unmatched_return warningsZandra
2016-06-07ct_property_test: Fix unmatched_return warningsZandra
2016-06-07ct_master: Fix unmatched_return warningsZandra
2016-06-07ct_hooks_lock: Fix unmatched_return warningsZandra
2016-06-07ct_hooks: Fix unmatched_return warningsZandra
2016-06-07ct_groups: Fix unmatched_return warningsZandra
2016-06-07ct_ftp: Fix unmatched_return warningsZandra
2016-06-07ct_framework: Fix unmatched_return warningsZandra
2016-06-07ct_config: Fix unmatched_return warningsZandra
2016-06-07ct_run: Fix unmatched_return warningsZandra
2016-06-07Make sure test node shuts down before skipping suitePeter Andersson
2016-06-06Measure file i/o overhead and skip test if the speed is too slowPeter Andersson
2016-06-02Revert "Prepare release"Erlang/OTP
This reverts commit e020f75c10410a6943cd055bfa072a2641eab7da.
2016-06-02Prepare releaseErlang/OTP
2016-06-01Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: Change ct:sleep to timer:sleep where scaling is not wanted Don't generate ssh key files in netconf client test Ignore data received in break mode in test telnet_server Wait for process to die before next call Retry ct_telnet:get_data if no data is received after short wait Don't throw rest of line when NOP is received in test telnet_server Change ct:sleep to timer:sleep in telnet_server
2016-06-01Skip test cases if cover or debug is runningPeter Andersson
2016-05-31Remove noop log call in common_testZandra
2016-05-31ct: Fix unmatched_return warningsZandra
2016-05-30Update TS platform_id with off-heap msgqRickard Green
2016-05-26Change ct:sleep to timer:sleep where scaling is not wantedSiri Hansen
2016-05-26Don't generate ssh key files in netconf client testSiri Hansen
Generating the dsa files can be very slow on some machines. Use hardcoded files instead.
2016-05-26Ignore data received in break mode in test telnet_serverSiri Hansen
The only command handled in break mode is 'q' = 'quit break mode'. Other data would earlier cause a function_clause exception. Other data could e.g. be a NOP poll (keep alive). To fix the problem, any data received in break mode, except 'q', will now be ignored.
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.
2016-05-20Don't throw rest of line when NOP is received in test telnet_serverSiri Hansen
If telnet command NOP (No Operation) was received in the same tcp package as other data, then the rest of the data would be regarded further telnet commands (to proceed IAC, Interprete As Command) and would never get to telnet_server:do_handle_data/2. This is now corrected.
2016-05-13common_test: Fix doc tags of ct_netconfcBjörn-Egil Dahlberg
2016-05-10ct_logs: Eliminate dialyzer warningsBjörn Gustavsson
common_test uses its own IO server that is group leader for the test case processes. By default, the IO server escapes characters with significance to HTML (e.g. '<'). In order to output HTML tags directly, the IO server must be told not to escape the output. The way to tell the IO server is to wrap the format string like this: ["$ct_html",Format] That works with common_test's own IO server, but in general not with other IO servers. Dialyzer will rightly complain that the call breaks the contract for io:format/3. To avoid the Dialyzer warning, we must obscure the wrapping of the format string. While we are at it, also refactor print_style/4 to make the code somewhat cleaner and shorter.
2016-05-04Merge branch 'maint-18'Henrik Nord
Conflicts: OTP_VERSION lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_update_config_SUITE.erl lib/common_test/vsn.mk