aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-07-22ssl: Add API suitesIngela Anderton Andin
This is also an effort to group test cases better. More such commits will follow.
2019-07-18[megaco|test] Improve handling of skipMicael Karlberg
The load test suite did not properly handle attempts to skip test cases. If we failed to start one of the slave nodes for whatever reason (in this case we got a timeout), this should not result in a failed test case as this is out of the control of the test case. As it was, we *did* try to issue a skip, but the "load controller" did not detect it. It instead transformed it into a regular error.
2019-07-18ssl: Covered by property testsIngela Anderton Andin
2019-07-18ssl: Correct RSP/PSK and ALPN handlingIngela Anderton Andin
Extention handling need some fixes to work correctly for ALPN and SSL-3.0 only client/servers do not support extensions
2019-07-18ssl: Better grouping of testIngela Anderton Andin
Regroup testes after functionality making it easier to test all variants (all protocols, all cert types etc). Also extend OpenSSL interop
2019-07-18Fix io:columns() and io:rows() are not working from escripts bugKjell Winblad
The functions io:columns() and io:rows() only worked correctly inside interactive erlang shells before this fix. These functions returned {error,enotsup} before this fix even if stdout and stdin were connected to a terminal when they were invoked from an escript or a program started with e.g., `erl -noshell`. This commit fixes issue ERL-717.
2019-07-18[megaco|test] Removed the "compile all" compiler directive (mreq)Micael Karlberg
Removed the "compile all" compiler directive for the mreq megaco test suite. This is not actually used in the "top" suite (for some reason). We leave it like that, but still fix the various issues so that it at least work.
2019-07-18[megaco|test] Removed the "compile all" compiler directive (load)Micael Karlberg
Removed the "compile all" compiler directive for the load megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (examples)Micael Karlberg
Removed the "compile all" compiler directive for the examples megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (digit map)Micael Karlberg
Removed the "compile all" compiler directive for the digit map megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (config)Micael Karlberg
Removed the "compile all" compiler directive for the config megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (codec)Micael Karlberg
Removed the "compile all" compiler directive for the codec megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (call flow)Micael Karlberg
Removed the "compile all" compiler directive for the call flow megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (actions)Micael Karlberg
Removed the "compile all" compiler directive for the actions megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (appup)Micael Karlberg
Removed the "compile all" compiler directive for the appup megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (app)Micael Karlberg
Removed the "compile all" compiler directive for the app megaco test suite.
2019-07-17[megaco|test] Removed the "compile all" compiler directive (top)Micael Karlberg
Removed the "compile all" compiler directive for the top megaco test suite.
2019-07-17ssl: Fix handling of ALPN in TLS 1.3Péter Dimitrov
2019-07-17[megaco|test] Reworked the test generator behaviourMicael Karlberg
Reworked the megaco test generator (megaco_test_generator) behaviour to remove compiler warnings.
2019-07-17[megaco|test] erlang:now() and random cleanupMicael Karlberg
Removed all use of erlang:now() and the deprecated random module from the test suite.
2019-07-17[megaco|test] Make the mib test suite more verboseMicael Karlberg
Make the mib (sub-) test suite more verbose and also do some printout when starting slave nodes (to see just how long time it takes). The connect test case failed on one (possibly) slow host during what looked lite mgc start (timeout). But since there where no printouts during that phase, there is no way to know what was going on.
2019-07-16Merge branch 'raimo/test-cuddling' into maintRaimo Niskanen
* raimo/test-cuddling: Fix leaking SSL node
2019-07-12fun2ms: accept ++ in function head when called from shellMagnus Henoch
Code such as ets:fun2ms(fun({"foo" ++ X}) -> X end) works fine in compiled code. Let's make it work when fun2ms is invoked from the shell as well.
2019-07-12Merge branch 'maint-21' into maintRaimo Niskanen
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-07-12Merge branch ↵Raimo Niskanen
'raimo/ssl/fix-zero-fragment-buffer-handling/ERIERL-379/OTP-15328' into maint * raimo/ssl/fix-zero-fragment-buffer-handling/ERIERL-379/OTP-15328: Do not call dist_ctrl_put_data with empty binaries Refine the queue code Fix extracting 0 bytes from queue
2019-07-11beam_validator: Values referenced by other values must be mergedJohn Högberg
This is a more proper fix for ERIERL-348. We used to think that we wouldn't need to update the type of a variable that's no longer referenced by a register ("dead value"), but the attached test case pokes a hole in that assumption. To summarize, the result of '=:='/2 is kept alive longer than one of its arguments, which gets pruned in a state merge leaving us with nothing to work on when we finally compare the result. This is fine for most operations since there's no point in (say) updating the size of a tuple we can no longer reach, but '=:='/2 updates the types of both arguments and we risk missing out on important information when either of them is gone. This commit fixes the problem by merging all values that are *reachable* from a register, rather than just those that *exist* in a register, ensuring that all values stay around at least as long as they're needed.
2019-07-11Fix leaking SSL nodeRaimo Niskanen
2019-07-11Prepare releaseErlang/OTP
2019-07-11Merge branch ↵Erlang/OTP
'raimo/ssl/fix-zero-fragment-buffer-handling/ERIERL-379/OTP-15328' into maint-21 * raimo/ssl/fix-zero-fragment-buffer-handling/ERIERL-379/OTP-15328: Do not call dist_ctrl_put_data with empty binaries Refine the queue code Fix extracting 0 bytes from queue
2019-07-11Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-07-11Merge branch 'john/compiler/fix-bad-try_catch-recv-fix/OTP-15953/ERL-999' ↵John Högberg
into maint * john/compiler/fix-bad-try_catch-recv-fix/OTP-15953/ERL-999: compiler: Fix compiler crash introduced by OTP-15952
2019-07-10Prepare releaseErlang/OTP
2019-07-10compiler: Fix compiler crash introduced by OTP-15952John Högberg
An assertion in code generation would fail when the common exit block was ?BADARG_BLOCK, as some operations expect to always "fail" directly to that block (= throw an exception) and we had inserted a dummy block in between. Other operations could also get funny fail labels, jumping to blocks that immediately jumped to {f,0}, but these were all cleaned up by beam_jump, sweeping the bug under the rug.
2019-07-10Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-07-09Prepare releaseErlang/OTP
2019-07-09Merge branch 'ingela/ssl/alert-error-enhancment/OTP-15943' into maint-22Erlang/OTP
* ingela/ssl/alert-error-enhancment/OTP-15943: ssl: Enhance error handling
2019-07-09Merge branch 'john/compiler/fix-fail-path-exceptions-bsm/OTP-15946' into ↵Erlang/OTP
maint-22 * john/compiler/fix-fail-path-exceptions-bsm/OTP-15946: beam_ssa_bsm: Leave ?BADARG_BLOCK alone when cloning fail path
2019-07-09Merge branch 'john/compiler/fix-unsafe-tuple_size-opt/OTP-15945' into maint-22Erlang/OTP
* john/compiler/fix-unsafe-tuple_size-opt/OTP-15945: beam_ssa_opt: Do not apply tuple_size optimization outside guards
2019-07-09Merge branch 'john/hipe/catch-miscompilation/OTP-15949' into maint-22Erlang/OTP
* john/hipe/catch-miscompilation/OTP-15949: dialyzer: Remove native code compilation hipe: Disable compilation on encountering try/catch
2019-07-09Merge branch 'john/compiler/fix-try_catch-receives/OTP-15952' into maintJohn Högberg
* john/compiler/fix-try_catch-receives/OTP-15952: compiler: Fix broken 'receive' in try/catch blocks
2019-07-09compiler: Fix broken 'receive' in try/catch blocksJohn Högberg
This fix is rather ugly and tacked-on, but I'm not comfortable refactoring the pass in an emergency patch.
2019-07-08Merge branch 'raimo/udp-send-TOS/OTP-15422' into maintRaimo Niskanen
* raimo/udp-send-TOS/OTP-15422: Refine test cases Remove test code that fails on Windows
2019-07-08Merge branch 'bmk/erts/esock/20190614/split_modules/OTP-15765' into maintMicael Karlberg
2019-07-08Merge branch 'bmk/snmp/20190624/compile_time_info/OTP-15330' into maintMicael Karlberg
2019-07-08[snmp] Compile time no longer availableMicael Karlberg
The function 'snmp:print_version_info/0' which prints various (version) info, attempted to extract the "compile time" of each module in the snmp app. This info used to be availabe in the module_info of each module, but has been removed (a "long" time ago). This resulted in a pointless "Not Found" beeing printed. This has now been removed from the into printed. OTP-15330
2019-07-08Merge branch 'bmk/snmp/20190627/dialyzer/OTP-15932' into maintMicael Karlberg
2019-07-08[snmp] Updated copyright end dateMicael Karlberg
OTP-15932
2019-07-08Merge branch 'bmk/snmp/20190607/discover_slooow_vm_issues' into maintMicael Karlberg
2019-07-08Merge branch 'john/hipe/catch-miscompilation/OTP-15949' into maintJohn Högberg
* john/hipe/catch-miscompilation/OTP-15949: dialyzer: Remove native code compilation hipe: Disable compilation on encountering try/catch
2019-07-05Do not call dist_ctrl_put_data with empty binariesRaimo Niskanen