aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
AgeCommit message (Collapse)Author
2014-02-07Fix problem with logging exits that happen in init_per_testcasePeter Andersson
2014-01-29Add documentation about logging in the ct_telnet modulePeter Andersson
2014-01-28Make temporary fix of problem that sometimes causes the ct_util server to diePeter 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-12-03Merge branch 'peppe/common_test/hook_skip_failure' into maintPeter Andersson
* peppe/common_test/hook_skip_failure: Fix CT hook pre_end_per_group causing crash when returning {skip,Reason} OTP-11409
2013-11-29Fix CT hook pre_end_per_group causing crash when returning {skip,Reason}Peter Andersson
OTP-11409
2013-11-29Merge branch 'siri/ct_netconfc/close_session-timeout-hangs/OTP-11478' into maintSiri Hansen
* siri/ct_netconfc/close_session-timeout-hangs/OTP-11478: [common_test] Don't hang netconf client when close-session times out
2013-11-28Merge remote branch 'origin/peppe/common_test/change_skip_behaviour' into maintPeter Andersson
* origin/peppe/common_test/change_skip_behaviour: Modify the auto_skip report for group config funcs to include group name Fix problems with info functions and add more tests Add test cases for new and modified functionality Fix problem with suites and groups skipped from test specification Change report tag for failed init_per_testcase from skipped to auto_skipped Add tests for skipping parallel groups Correct tests cases that fail because of modified events Correct various bugs related to auto_skip and groups Change status from skip to auto_skip for config func that fails due to require Fix problem with handling Config and FW reports correctly Change skip vs auto_skip behaviour OTP-11305
2013-11-21[common_test] Don't hang netconf client when close-session times outSiri Hansen
When the netconf server did not respond to the close-session request, the call to ct_netconfc:close_session/2 would hang forever waiting for the netconf client to terminate. This has been corrected. The client will now always terminate (and take down the connection) if the close-session request times out.
2013-11-19Modify the auto_skip report for group config funcs to include group namePeter Andersson
Also correct failing test cases and find and fix remaining bugs.
2013-11-18Fix problems with info functions and add more testsPeter Andersson
2013-11-18Add test cases for new and modified functionalityPeter Andersson
2013-11-18Change report tag for failed init_per_testcase from skipped to auto_skippedPeter Andersson
2013-11-18Correct tests cases that fail because of modified eventsPeter Andersson
2013-11-18Correct various bugs related to auto_skip and groupsPeter Andersson
2013-11-18Change status from skip to auto_skip for config func that fails due to requirePeter Andersson
2013-10-31Fix problem with handling Config and FW reports correctlyPeter Andersson
2013-10-18common_test: Add terminate/1Fredrik Gustafsson
2013-10-11common_test: added code_change/3 for gen_event behaviourFredrik Gustafsson
2013-09-16The gen_event callback module expects terminate/2, not terminate/1Roberto Aloi
2013-09-11Make builtin hook respond to init:stopPeter Andersson
2013-09-05Add missing whitespace in stringPeter Andersson
2013-09-03Find and fix minor bugsPeter Andersson
2013-09-02Fix problem with start order of hooks and stopping of ct_util_serverPeter Andersson
2013-09-02Introduce pre- and post-test i/o logPeter Andersson
2013-08-28Tag sasl and error reports with suite, group, and function in logPeter Andersson
2013-08-07Merge remote branch 'origin/peppe/common_test/ct_log_updates' into maintPeter Andersson
* origin/peppe/common_test/ct_log_updates: Make the CT logger print to stdout if test_server is not running Add test Allow calls to ct:pal and ct:print even if CT is not running OTP-11176
2013-07-09Merge branch 'siri/ct_netconfc/multiple-filter-notification/OTP-11166' into ↵Siri Hansen
maint * siri/ct_netconfc/multiple-filter-notification/OTP-11166: [ct_netconfc] Allow multiple elements inside filter in create_subscription
2013-06-28Make the CT logger print to stdout if test_server is not runningPeter Andersson
OTP-11176
2013-06-27Allow calls to ct:pal and ct:print even if CT is not runningPeter Andersson
Also make sure calls to ct:log and ct:pal don't cause crash if test_server is not running (could happen during startup or shutdown of CT). OTP-11176
2013-06-25[ct_netconfc] Allow multiple elements inside filter in create_subscriptionSiri Hansen
ct_netconfc:create_subscription only allows one XML element inside the 'filter' element. According to RFC5277 it should be allowed to add any number of elements inside the filter, so this is now corrected.
2013-06-25[common_test] Add documentation for ct_netconfc:send and send_rpcSiri Hansen
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-06-05Fix error with testspec terms not being merged properlyPeter Andersson
2013-06-05Fix problem with tests being wrongly added to separate specsPeter Andersson
2013-06-05Improve error report if crash due to bad testspecPeter Andersson
2013-06-04Merge remote branch 'origin/peppe/common_test/ct_conn_handling' into maintPeter Andersson
* origin/peppe/common_test/ct_conn_handling: Add test suite Fix faulty connection handling OTP-10126
2013-06-04Merge branch 'siri/cuddle-with-tests' into maintSiri Hansen
* siri/cuddle-with-tests: Delete 'icky' dirs and symlinks after kernel tests [ct_netconfc] Improve error printout Fix interactive_shell_SUITE to handle node name with quotes
2013-06-04[ct_netconfc] Improve error printoutSiri Hansen
2013-05-29Fix faulty connection handlingPeter Andersson
OTP-10126
2013-05-28Merge branch 'ia/ssl/public_key/crypto/elliptic_curve/OTP-11009' into maintIngela Anderton Andin
* ia/ssl/public_key/crypto/elliptic_curve/OTP-11009: (21 commits) ssl: Do not advertise EC ciphers if crypto support is insufficient crypto: Ctify tests and test new API crypto: Allow integer as srp_private arguments according to docs ssl: Remove unused `srp_parameters` type spec crypto, public_key & ssl: Make more functions accept integer keys snmp: Remove use of deprecated crypto functions crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integer netconf: Remove use of deprecated crypto functions crypto: Documentation fixes from review crypto: Change argument order of crypto:next_iv/3 crypto,public_key,ssl: Change return value of crypto:generate_key(ecdh,..) ssl, public_key, crypto: crypto:algorithms/0 -> crypto:supports/0 ssl, public_key & inets: Remove use of deprecated crypto functions from test code ssl: Remove use of deprecated crypto functions public_key: Remove use of deprecated crypto functions dialyzer: Remove use of deprecated crypto functions ssh & crypto: Remove use of deprecated crypto functions from ssh Update primary bootstrap common_test: Replace use of deprecated crypto functions beam_lib, compile: Replace use of deprecated crypto functions ...
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-20common_test: Replace use of deprecated crypto functionsBjörn Gustavsson
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-15[common_test] Add debug printouts in ct_telnet_clientSiri Hansen
2013-05-14[common_test] Backed out wait_for_linebreak option from ct_telnetSiri Hansen