aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
AgeCommit message (Collapse)Author
2014-12-29Merge branch 'lemenkov/use_os_getenv_2'Marcus Arendt
* lemenkov/use_os_getenv_2: fix missing include Start using os:getenv/2 fun Introduce os:getenv/2
2014-12-15Start using os:getenv/2 funPeter Lemenkov
See #535 Signed-off-by: Peter Lemenkov <[email protected]>
2014-12-10Merge tag 'OTP-17.4'Marcus Arendt
=== OTP-17.4 === Changed Applications: - asn1-3.0.3 - common_test-1.9 - compiler-5.0.3 - crypto-3.4.2 - debugger-4.0.2 - dialyzer-2.7.3 - diameter-1.8 - edoc-0.7.16 - eldap-1.1 - erl_docgen-0.3.7 - erl_interface-3.7.20 - erts-6.3 - eunit-2.2.9 - hipe-3.11.2 - inets-5.10.4 - jinterface-1.5.12 - kernel-3.1 - megaco-3.17.3 - mnesia-4.12.4 - observer-2.0.3 - odbc-2.10.22 - otp_mibs-1.0.10 - parsetools-2.0.12 - percept-0.8.10 - runtime_tools-1.8.15 - snmp-5.1.1 - ssh-3.1 - ssl-5.3.8 - stdlib-2.3 - syntax_tools-1.6.17 - test_server-3.7.2 - tools-2.7.1 - wx-1.3.2 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - et-1.5 - gs-1.5.16 - ic-4.3.6 - orber-3.7.1 - os_mon-2.3 - ose-1.0.2 - public_key-0.22.1 - reltool-0.6.6 - sasl-2.4.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk
2014-12-09Prepare releaseErlang/OTP
2014-12-03Merge branch 'maint'Rickard Green
* maint: Distribute autoconf helpers
2014-12-02Distribute autoconf helpersRickard Green
Distribute aclocal.m4, install-sh, config.guess, and config.sub to applications at build time instead of having multiple identical copies committed in the repository.
2014-12-02Merge branch 'maint'Henrik Nord
2014-12-02Merge branch 'siri/ct_netconfc/subsystem-timeout/OTP-12334' into maintHenrik Nord
* siri/ct_netconfc/subsystem-timeout/OTP-12334: [ct_netconfc] Handle timeout failure in ssh
2014-11-27[ct_netconfc] Handle timeout failure in sshSiri Hansen
ssh_connection:subsystem/4 can return success | failure | {error,timeout}. The latter was not handled by ct_netconfc.erl. This is now corrected.
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] Improve debug printouts and loggingSiri Hansen
ct_telnet_own_server_SUITE:large_string sometimes fail in the last attempt - where get_data is used to fetch smaller chunks - probably because one get_data message towards ct_telnet_client returns without having received any new data. This commit adds timestamps to debug printouts and improves the logging.
2014-11-27[ct_telnet] Add timestamp to telnet_server debug printoutSiri Hansen
This is the telnet server used when testing ct_telnet and friends. The telnet client itself is not changed.
2014-11-27[ct_telnet] Extend timeout in test from 1 to 2 sekSiri Hansen
This is for stabilizing test cases.
2014-11-27[ct_telnet] Don't send extra newline after passwordSiri Hansen
The telnet client used to send an extra newline after the password. This caused an extra prompt to be sent back from the server. Some test cases failed every now and then due to this - since the second promt was confusing. This is now corrected, i.e. the client does no longer send an extra newline after the password.
2014-11-11Merge branch 'maint'Peter Andersson
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-10-24Merge branch 'siri/test-upgrade'Siri Hansen
* siri/test-upgrade: Add upgrade test in stdlib_SUITE [ct] Add ct_release_tests.erl Specify tar-file as basename in upgrade_SUITE
2014-10-21Merge branch 'maint'Peter Andersson
2014-10-21Merge branch 'peppe/common_test/crash_during_close' into maintPeter Andersson
* peppe/common_test/crash_during_close: Solve memory consumption problem Fix problem with buffered async io messages executed too late Don't generate weird exit if ct_logs has terminated before shut down OTP-12159
2014-10-20[ct] Add ct_release_tests.erlSiri Hansen
This is a library module for testing release related functionality in one or more applications. The first version of ct_release_tests include test of upgrade only. Note that the hipe application does not support any upgrade, and typer and dialyzer requires hipe, so these three applications are always exluded from the test.
2014-10-17Solve memory consumption problemPeter Andersson
2014-10-13Fix problem with buffered async io messages executed too latePeter Andersson
2014-10-08Merge branch 'maint'Siri Hansen
2014-10-08Don't generate weird exit if ct_logs has terminated before shut downPeter Andersson
2014-09-24[ct test] Explicitly unregister event receiver to avoid badargSiri Hansen
... when two tests are run within the same test case.
2014-09-23[ct_netconfc] Remove handle_msg and format_data from docSiri Hansen
These functions were missing @private edoc tags and were erroneously shown in the reference manual.
2014-09-23[ct_netconfc] Add optional parameters to edit-configSiri Hansen
Earlier there was no way to add optional parameters like default-operation to an edit-config request sent with ct_netconfc:edit_config/3,4, you had to use ct_netconfc:send_rpc/2,3. For simplicity and completion, a new optional argument, OptParams, is now added to the edit_config function.
2014-09-22Merge branch 'maint'Siri Hansen
2014-09-18[ct] Fix path of cover export/import filesSiri Hansen
5a3c4668 accidentially changed the base directory for cover export and import files, if given as relative paths. This commit fixes this - the files are again expected to be given relative to the directory of the cover spec file itself, or else as absolute paths.
2014-09-17Merge tag 'OTP-17.3'Henrik Nord
=== OTP-17.3 === Changed Applications: - asn1-3.0.2 - common_test-1.8.2 - compiler-5.0.2 - crypto-3.4.1 - dialyzer-2.7.2 - diameter-1.7.1 - edoc-0.7.15 - erl_docgen-0.3.6 - erl_interface-3.7.18 - erts-6.2 - eunit-2.2.8 - hipe-3.11.1 - ic-4.3.6 - inets-5.10.3 - jinterface-1.5.10 - kernel-3.0.3 - megaco-3.17.2 - mnesia-4.12.3 - observer-2.0.2 - odbc-2.10.21 - os_mon-2.3 - ose-1.0.1 - public_key-0.22.1 - sasl-2.4.1 - snmp-5.1 - ssh-3.0.5 - ssl-5.3.6 - stdlib-2.2 - tools-2.7 - wx-1.3.1 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - debugger-4.0.1 - eldap-1.0.3 - et-1.5 - gs-1.5.16 - orber-3.7 - otp_mibs-1.0.9 - parsetools-2.0.11 - percept-0.8.9 - reltool-0.6.6 - runtime_tools-1.8.14 - syntax_tools-1.6.16 - test_server-3.7.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk
2014-09-15Update release notesErlang/OTP
2014-09-15Merge branch 'maint'Hans Nilsson
2014-09-15common_test: Add p-tag to warning-tagHans Nilsson
2014-09-09Merge branch 'maint'Hans Nilsson
* maint: ssh: update for triq tests common_test: ct_property_test call correct Triq function. ct_property_test: add Triq support
2014-09-09common_test: ct_property_test call correct Triq function.Hans Nilsson
2014-09-09ct_property_test: add Triq supportTuncer Ayaz
Also, ensure that the right module's counterexample/0 is called.
2014-09-08Merge branch 'lharc/patch-2'Marcus Arendt
* lharc/patch-2: Update ct_master_chapter.xml
2014-09-05Merge branch 'maint'Hans Nilsson
2014-09-05common_test: update Makefile for ct_property_test module.Hans Nilsson
2014-09-03Merge branch 'maint'Hans Nilsson
2014-09-03common_test: update vsn.mkHans Nilsson
2014-09-02Merge branch 'maint'Hans Nilsson
2014-09-02common_test: Add experimental module ct_property_testHans Nilsson
This module may change without warning...
2014-09-01Merge branch 'maint'Siri Hansen
2014-09-01Merge branch 'siri/ct-runtime-deps/OTP-12037' into maintSiri Hansen
* siri/ct-runtime-deps/OTP-12037: [ct] Update runtime dependencies towards test_server
2014-08-26Update ct_master_chapter.xmlLarry
typo
2014-08-08Merge branch 'maint'Marcus Arendt
Conflicts: OTP_VERSION
2014-08-05Improve ct_snmp test casesRaimo Niskanen
2014-07-11[ct] Update runtime dependencies towards test_serverSiri Hansen
Ticket OTP-11971 introduced a runtime dependency towards test_server-3.7.1, since the interface between test_server and common_test was changed. Erroneously, the common_test.app file was not updated according to this. This has now been corrected.
2014-07-01[ct] Add test with netconf server on remote nodeSiri Hansen
The new test is related to support sequence seq12645. It tests that the netconf client process dies if the node hosting the netconf server terminates.