aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-02-20Changed documentation for +sws optionFredrik Gustafsson
2013-02-19Merge branch 'anders/diameter/R16B_release/OTP-10835'Anders Svensson
* anders/diameter/R16B_release/OTP-10835: vsn -> 1.4.1 Update appup for diameter-1.4.1 in R16B Add cover target to test/Makefile Make tweaks Remove dialyzer nowarn_unused_function workaround
2013-02-19Merge remote branch 'origin/peppe/common_test/force_stop'Peter Andersson
* origin/peppe/common_test/force_stop: Repair broken force_stop functionality OTP-10832
2013-02-19Merge remote branch 'origin/peppe/common_test/tc_print_deadlock'Peter Andersson
* origin/peppe/common_test/tc_print_deadlock: Fix problems with verbosity test suite Solve problem with IO deadlock in ct_util_server Implement test case that triggers known deadlock bug OTP-10826
2013-02-19Merge remote branch 'origin/peppe/common_test/dialyzer_warnings'Peter Andersson
* origin/peppe/common_test/dialyzer_warnings: Correct dialyzer warnings
2013-02-19Merge branch 'ia/ssl/prep-for-release'Ingela Anderton Andin
* ia/ssl/prep-for-release: ssl: Prepare for R16B
2013-02-19ssl: Prepare for R16BIngela Anderton Andin
2013-02-19Merge branch 'ks/type-doc-cleanup/OTP-10850'Fredrik Gustafsson
* ks/type-doc-cleanup/OTP-10850: Add support for printing <<_:_*1>> as bitstring() Clean up of documentation of type language
2013-02-19Merge branch 'mah/fix-ssh-connect-doc/OTP-10862'Fredrik Gustafsson
* mah/fix-ssh-connect-doc/OTP-10862: Fix doc for ssh:connect/3,4
2013-02-19Fix doc for ssh:connect/3,4Martin Hässler
* Refer to ssh_connection instead of ssh_connect * Add 'seealso' tag linking to ssh_connection:session_channel
2013-02-19Merge branch 'ia/ssl/error-msg'Ingela Anderton Andin
* ia/ssl/error-msg: ssl: Further error handling enhancments
2013-02-19Merge branch 'bjorn/asn1/test-cases'Björn Gustavsson
* bjorn/asn1/test-cases: Remove unused test cases Run more tests with all backends asn1_SUITE: Remove unused code
2013-02-19Merge branch 'pan/unicode_filename_warnings'Björn Gustavsson
* pan/unicode_filename_warnings: Update file_name_SUITE Fix broken file:read_link_all/1 Fix broken prim_file:list_dir_all/1
2013-02-18vsn -> 1.4.1Anders Svensson
2013-02-18Update appup for diameter-1.4.1 in R16BAnders Svensson
Also add comments to identify the corresponding OTP releases. Purposely don't use regexp version numbers to be explicit about previously released versions. (Could use them in one direction but then app suite needs to be adapted.)
2013-02-18Add cover target to test/MakefileAnders Svensson
2013-02-18Merge branch 'sverk/valgrind-cuddling'Sverker Eriksson
* sverk/valgrind-cuddling: test_server: Increase timeout for VALGRIND erts: Use native atomics and fallback spinlock to mutex for VALGRIND
2013-02-18Merge branch 'sverk/ets-test-failures'Sverker Eriksson
* sverk/ets-test-failures: stdlib: Try fix fluctuating test cases in ets_SUITE
2013-02-18ssl: Further error handling enhancmentsIngela Anderton Andin
follow up enhancments done in commit e56167dd6ca8d37d26ea7f19933691a3bda41113 Make sure format_error return good strings. Replace confusing legacy atoms with more descriptive atoms.
2013-02-18Remove unused test casesBjörn Gustavsson
2013-02-18Run more tests with all backendsBjörn Gustavsson
Some tests are are only run with BER backend. Unless there is a special reason that the PER and UPER backends will not work, we should run all tests with all backends to get the best possible code coverage.
2013-02-18asn1_SUITE: Remove unused codeBjörn Gustavsson
2013-02-18Merge branch 'lukas/erts/file_read_line_opt/OTP-10859'Lukas Larsson
* lukas/erts/file_read_line_opt/OTP-10859: invoke_read_line now remembers read_ahead settings
2013-02-18Merge branch 'lukas/erts/writev_osx_fix/OTP-10858'Lukas Larsson
* lukas/erts/writev_osx_fix/OTP-10858: Do not use writev on osx snow leopard
2013-02-18Merge branch 'bjorn/asn1/bug-fixes/OTP-10853'Björn Gustavsson
* bjorn/asn1/bug-fixes/OTP-10853: asn1ct: Eliminate use of obsolete size/1 Eliminate use of obsolete size/1 in generated code BER: Fix broken table constraints inside a SET OF/SEQUENCE OF Smoke test the 'der' option der: Correct code generation for checking of empty sets per,uper: Fix breakage of compilation of InformationFramework Add NullTest asn1_SUITE: Shorten the path to case-specific directory asn1_SUITE: Don't add priv_dir to the code path asn1 tests: Remove obsolete duplicates of ASN.1 specs
2013-02-18Update file_name_SUITEBjörn Gustavsson
Because {prim_file,file}:list_dir/1 no longer returns untranslatable filenames, we must use list_dir_all/1 instead. We also need to use read_link_all/1 instead of read_link/1.
2013-02-18Fix broken file:read_link_all/1Björn Gustavsson
It produced the same result as file:read_link/1.
2013-02-18Fix broken prim_file:list_dir_all/1Björn Gustavsson
6d516de001dde82c02fe050db8e3aab47914fa90 added prim_file:list_dir_all/1. Unfortunately, only the first element in the list would be handled as intended.
2013-02-18Make tweaksAnders Svensson
Add a 'strict' target to compile with -Werror and fix a dependency. Reorder test suites alphabetically. The two suites that currently take the longest to run conveniently come last.
2013-02-18Remove dialyzer nowarn_unused_function workaroundAnders Svensson
The workaround (commit 57d5564f) was to dialyzer only understanding nowarn_unused_function on individual functions. This is no longer the case as of R15B01 (commit 477fd95a).
2013-02-18Merge branch 'anders/diameter/5xxx_errors/OTP-10759'Anders Svensson
* anders/diameter/5xxx_errors/OTP-10759: Add testcases for application_opt() request_errors = answer Answer 5xxx errors with application_opt() request_errors = answer Comments and minor Result-Code fix
2013-02-18Merge branch 'anders/diameter/result_code/OTP-10761'Anders Svensson
* anders/diameter/result_code/OTP-10761: Add testcases to 3xxx suite Minor traffic suite fix Be less brutal in setting Result-Code/Failed-AVP
2013-02-18Merge branch 'anders/diameter/3xxx_callback/OTP-10686'Anders Svensson
* anders/diameter/3xxx_callback/OTP-10686: Add 3xxx suite for testing application_opt() request_errors Minor suite simplification Add application_opt() request_errors
2013-02-18Fix problems with verbosity test suitePeter Andersson
2013-02-18Repair broken force_stop functionalityPeter Andersson
2013-02-18Merge branch 'ia/odbc/port_info'Ingela Anderton Andin
* ia/odbc/port_info: odbc: Use erlang:port_info to make sure test cases chooses the correct port
2013-02-18Correct dialyzer warningsPeter Andersson
2013-02-17Add testcases for application_opt() request_errors = answerAnders Svensson
2013-02-17Answer 5xxx errors with application_opt() request_errors = answerAnders Svensson
RFC 3588 allowed only 3xxx result codes in an answer-message (that is, an answer that sets the E-bit) while RFC 6733 also allows 5xxx result codes. Setting request_errors = answer tells diameter to answer 5xxx errors itself. Returning {answer_message, integer()} from a handle_request callback allows both 3xxx and 5xxx result codes to be set. {protocol_error, integer()} is retained for 3xxx result codes.
2013-02-16Comments and minor Result-Code fixAnders Svensson
In particular, don't put an error tuple in the errors field of a #diameter_packet{} when Result-Code and the E-bit are in conflict, put {integer(), #diameter_avp{}}.
2013-02-16Add testcases to 3xxx suiteAnders Svensson
2013-02-16Minor traffic suite fixAnders Svensson
2013-02-16Be less brutal in setting Result-Code/Failed-AVPAnders Svensson
When receiving a request for which errors have been detected during decode, diameter previously used the errors list in the decoded diameter_packet record to unconditionally set Result-Code and Failed-AVP in the outgoing answer. It wasn't particularly delicate in doing so however and would happily set a 5xxx Result-Code even if a handle_request callback returned an answer-message, leading to an encode error. This behaviour became even less endearing as of commit ac452e28, which made it possible to handle_request to take place even for protocol errors. (ie. When a callback typically should return an answer-message.) This commit fixes the behaviour by only setting a value that's appropriate for the answer in question, either a 3xxx or a 5xxx, depending on if the answer's an answer-message or not. It also allows handle_request to prevent diameter from setting anything by setting errors = false in a returned diameter_packet. Ideally it should have been errors = [] but the empty list is the default value for the errors field and changing the default (ideally there shouldn't have been one) would require recompilation of all modules including diameter.hrl: choose the less attractive 'false' to avoid such backwards incompatibility. The request reception is also refactored somewhat to shorten some call chains.
2013-02-16Add 3xxx suite for testing application_opt() request_errorsAnders Svensson
2013-02-16Minor suite simplificationAnders Svensson
2013-02-16Add application_opt() request_errorsAnders Svensson
Configuring the value 'callback' all errors detected in incoming requests to result in a handle_request callback. The default value 'answer_3xxx' is the previous behaviour in which diameter answers protocol errors without a callback.
2013-02-16asn1ct: Eliminate use of obsolete size/1Björn Gustavsson
Also teach otp_SUITE:call_to_size/1 that calls to size/1 is no longer allowed within the asn1 application.
2013-02-16Eliminate use of obsolete size/1 in generated codeBjörn Gustavsson
It is recommended to use byte_size/1 or tuple_size/1 instead of size/1.
2013-02-15Merge branch 'lukas/erts/add_sha_to_shell_title/OTP-10838'Lukas Larsson
* lukas/erts/add_sha_to_shell_title/OTP-10838: Remove could not find warning
2013-02-15Remove could not find warningLukas Larsson