aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-05-04iolist_size/1: Fix truncation of resultBjörn Gustavsson
iolist_size/1 would silently return a truncated result for iolists whose size exceeded the word size. For example: iolist(lists:duplicate(256, <<0:(1 bsl 24)/unit:8>>)). would return 0 (instead of 4294967296 or 1 bsl 32). Rewrite iolist_size/1 to accumulate the size in a bignum if necessary and result the correct result.
2011-05-04Test iolist_size/1 with bad argumentsBjörn Gustavsson
2011-05-04binary_SUITE: Remove workaround for avoiding stack overflowBjörn Gustavsson
In older releases of Erlang/OTP, the '=:=' operator could run out of stack if used to compare very deep lists. Since that problem has been fixed, we can remove the workaround used in the deep/1 test case.
2011-05-04Merge branch 'maint-r14' into devNiclas Eklund
2011-05-04Merge branch 'ia/ssl/dialyzer-socket-options-spec' into devIngela Anderton Andin
* ia/ssl/dialyzer-socket-options-spec: Dialyzer spec fix
2011-05-04Dialyzer spec fixIngela Anderton Andin
2011-05-03Merge branch 'ta/unicode-non-chars' into devHenrik Nord
* ta/unicode-non-chars: unicode: document 16#FFFE and 16#FFFF (non chars) OTP-9256
2011-05-03Merge branch 'mh/inhibit-newline-inside-typespec' into devHenrik Nord
* mh/inhibit-newline-inside-typespec: Inhibit electric newline after "->" when inside a type spec OTP-9255
2011-05-03Merge branch 'ia/ssl/dialyzer-iodata' into devIngela Anderton Andin
* ia/ssl/dialyzer-iodata: Changed iolist() to iodata()
2011-05-02Merge branch 'nick/ssh/memory_leak/OTP-9232' into maint-r14Erlang/OTP
* nick/ssh/memory_leak/OTP-9232: OTP-9232: A memory leak has been fixed. I.e. per terminated connection the size of a pid and the length of a user name string was not cleared. Added deletion of clients to be used when a session is terminated.
2011-05-02Merge branch 'ta/driver_entry-typo' into devHenrik Nord
* ta/driver_entry-typo: driver_entry: Remove gratuitous paren and fix typo OTP-9254
2011-04-29Merge branch 'ks/prim_file-fixes' into devHenrik Nord
* ks/prim_file-fixes: add prim_file.beam Driver names should be strings, not atoms Cleanup and cosmetic changes OTP-9253
2011-04-29Merge branch 'ms/erl_interface-compile-error' into devHenrik Nord
* ms/erl_interface-compile-error: erl_interface: fix compile error OTP-9252
2011-04-29Merge branch 'ms/unsigned-integer-overflow-in-error' into devHenrik Nord
* ms/unsigned-integer-overflow-in-error: Unsigned integer may overflow in error message OTP-9251
2011-04-29Changed iolist() to iodata()Ingela Anderton Andin
ssl:send/2 takes iodata() as a second argument. erlang:iolist_to_binary should really be called erlang:iodata_to_binary which caused the mismatch in the first place.
2011-04-28Merge branch 'peppe/common_test/r14b03_tickets' into devPeter Andersson
* peppe/common_test/r14b03_tickets: Have test_server locate the source code file for a test suite module if it's not in the same directory as the beam file. Fix error in vts mode, making it impossible to execute suites with test case groups. Fix problem with merging ticket branch. Fix problems with timetrap handling in common_test: 1. ct:timetrap(infinity) not supported. 2. Previous set timetrap for a test case is not cancelled by new one. Document the new init_per_testcase return value. Make it possible to fail test case by returning {fail,Reason} from init_per_testcase. Fix problem with merging a ticket branch. Fix issues related to test case groups: 1. Allow empty group to be specified without generating an error. 2. Sort out potential problem with unnecessary call to delete_subs/2. Add test case for suite with empty group. Improve validation of test events. Fix failing tests on Windows. Make it possible to refresh the top level index page at the start of a test run. Fix problem with CT hook start error causing IO to be sent to wrong group leader process. Do minor updates of the ts test framework. Correct failing test cases. OTP-9233 OTP-9210 OTP-9195 OTP-9161 OTP-9160 OTP-9159 OTP-9138
2011-04-28Have test_server locate the source code file for a test suite module if it's ↵Peter Andersson
not in the same directory as the beam file.
2011-04-28Fix error in vts mode, making it impossible to execute suites with test case ↵Peter Andersson
groups.
2011-04-28Fix problem with merging ticket branch.Peter Andersson
2011-04-28Fix problems with timetrap handling in common_test:Peter Andersson
1. ct:timetrap(infinity) not supported. 2. Previous set timetrap for a test case is not cancelled by new one.
2011-04-28Document the new init_per_testcase return value.Peter Andersson
2011-04-28Make it possible to fail test case by returning {fail,Reason} from ↵Peter Andersson
init_per_testcase.
2011-04-28Fix problem with merging a ticket branch.Peter Andersson
2011-04-28Fix issues related to test case groups:Peter Andersson
1. Allow empty group to be specified without generating an error. 2. Sort out potential problem with unnecessary call to delete_subs/2.
2011-04-28Add test case for suite with empty group.Peter Andersson
2011-04-28Improve validation of test events.Peter Andersson
2011-04-28Fix failing tests on Windows.Peter Andersson
2011-04-28Make it possible to refresh the top level index page at the start of a test run.Peter Andersson
2011-04-28Merge branch 'ta/common_test-ignore-ct_slave-xml' into devHenrik Nord
* ta/common_test-ignore-ct_slave-xml: Ignore lib/common_test/doc/src/ct_slave.xml
2011-04-28Ignore lib/common_test/doc/src/ct_slave.xmlTuncer Ayaz
2011-04-28Merge branch 'ms/file-fix-hang-reading-compressed-files' into devHenrik Nord
* ms/file-fix-hang-reading-compressed-files: file: fix hang reading compressed files OTP-9245
2011-04-28Merge branch 'raimo/inet_res-crash-rest-time-0/OTP-9221' into devRaimo Niskanen
* raimo/inet_res-crash-rest-time-0/OTP-9221: Do not UDP send when there is 0 ms left to wait for reply Check return values from UDP send functions Cleanup timeout handling, fix bug for remaining time =:= 0 Add DNS proxy and first test case for late answer
2011-04-28Merge branch ↵Siri Hansen
'siri/stdlib/supervisor-terminate_child-simple_one_for_one/OTP-9201' into dev * siri/stdlib/supervisor-terminate_child-simple_one_for_one/OTP-9201: Add terminate_child(Sup, Pid) for simple_one_for_one Allow supervisor:terminate_child(SupRef,Pid) for simple_one_for_one
2011-04-28Merge branch 'km/pool_connect-to-running-nodes' into devHenrik Nord
* km/pool_connect-to-running-nodes: Change pool module to attempt to attach to nodes that are already running OTP-9244
2011-04-27Merge branch 'sverker/code_SUITE-false_dependency-bug' into devSverker Eriksson
* sverker/code_SUITE-false_dependency-bug: Fix bug in test case code_SUITE:false_dependency
2011-04-27Merge branch 'sverker/enif_is_exception/OTP-9150' into devSverker Eriksson
* sverker/enif_is_exception/OTP-9150: add support for checking if an ERL_NIF_TERM is an exception
2011-04-27unicode: document 16#FFFE and 16#FFFF (non chars)Tuncer Ayaz
2011-04-27Merge branch 'sverker/erts_printf-halfword' into devSverker Eriksson
* sverker/erts_printf-halfword: erts_printf %be to print integers of size Eterm Fix use of type BeamInstr in hipe_debug.c Conflicts: erts/emulator/hipe/hipe_debug.c
2011-04-27OTP-9232:Niclas Eklund
A memory leak has been fixed. I.e. per terminated connection the size of a pid and the length of a user name string was not cleared.
2011-04-27add prim_file.beamHenrik Nord
2011-04-27Driver names should be strings, not atomsKostis Sagonas
2011-04-27Cleanup and cosmetic changesKostis Sagonas
2011-04-26driver_entry: Remove gratuitous paren and fix typoTuncer Ayaz
2011-04-21Merge branch 'ia/year-fix' into devIngela Anderton Andin
* ia/year-fix: Fixed blunder in year tag
2011-04-21Fixed blunder in year tagIngela Anderton Andin
2011-04-21Do not UDP send when there is 0 ms left to wait for replyRaimo Niskanen
2011-04-21Check return values from UDP send functionsRaimo Niskanen
2011-04-21Cleanup timeout handling, fix bug for remaining time =:= 0Raimo Niskanen
2011-04-21Add DNS proxy and first test case for late answerRaimo Niskanen
2011-04-20Fix problem with CT hook start error causing IO to be sent to wrong group ↵Peter Andersson
leader process.