aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-07-24[esock|test] Moved include file (to its proper place)Micael Karlberg
OTP-15904
2019-07-24[esock|test] Make some skip reasons more readableMicael Karlberg
OTP-15904
2019-07-24Merge branch 'bmk/erts/esock/20190717/select_info_clarify/OTP-15731' into maintMicael Karlberg
2019-07-23[esock|test] Changing 'dontroute' may not be allowedMicael Karlberg
If we are not allowe to change ('eopnotsupp') the socket option 'dontroute' then we skip the test case. OTP-15904
2019-07-23[snmp|manager|test] Fixed notify test caseMicael Karlberg
The (second) notify test case had a faulty "condition" test (which skipped the case in all cases except when it was supposed to be skipped :) Also, the test start and stop of the manager during the test case has been adjusted. We try to keep track of how long time each start and stop takes. And also, if they takes to long, we skip the case.
2019-07-23[snmp|manager] Stop the managerMicael Karlberg
Make stopping the manager (the entire manager sup tree) more easy. The function(s) for starting and stopping the manager that exist in the snmpm module is (mostly) intended for testing, making the stop function more "potent" is no real problem (now any process not just the parent) can stop the manager process tree.
2019-07-23[snmp|manager|test] Notify started (test case) adjustmentsMicael Karlberg
We have seen one case when it takes unreasonably long time to start the manager, which causes the test case (notify_started01) to fail. We try to monitor the start, and if it takes to long a time, we instead skip.
2019-07-23Merge branch 'ingela/ssl/continue-test-restructure' into maintIngela Anderton Andin
* ingela/ssl/continue-test-restructure: ssl: Move alert test to own suite ssl: Move der_input and rizzo tests
2019-07-23ssl: Move alert test to own suiteIngela Anderton Andin
Also clean up code after previous test moves
2019-07-23ssl: Move der_input and rizzo testsIngela Anderton Andin
Also refactor Rizzo tests to minimize them to only test what actually can be tested. In practice this was already done but a lot of legacy code remained. In the past timing happened to make it look like it was possible to test Rizzo-Dungeon mitigation in more detail, but it was based on false assumptions that can not be applied to streams.
2019-07-22[snmp/agent|test] Fixing test runner exitMicael Karlberg
2019-07-22[esock|test] Split the acceptconn test case into twoMicael Karlberg
The socket acceptconn test case has been split into two, one for UDP and one for TCP. OTP-15904
2019-07-22Merge branch 'rickard/node-refc-tests-22' into maintRickard Green
* rickard/node-refc-tests-22: Fix etp-ets-tables Fix node refc test for free processes hanging around Enhanced node refc bookkeeping Fix node container refc tests of ETS Fix node refc test of external data Node container refc test for persistent terms Include persistent term storage in node/dist refc check Fix node refc test for system message queue
2019-07-22Merge branch 'peterdmv/ssl/fix-tls13-alpn' into maintPéter Dimitrov
* peterdmv/ssl/fix-tls13-alpn: ssl: Fix handling of ALPN in TLS 1.3
2019-07-22Merge branch 'ingela/ssl/restructure-tests' into maintIngela Anderton Andin
* ingela/ssl/restructure-tests: ssl: Add API suites ssl: Covered by property tests ssl: Correct RSP/PSK and ALPN handling ssl: Better grouping of test
2019-07-22Fix etp-ets-tablesRickard Green
2019-07-22Fix node refc test for free processes hanging aroundRickard Green
2019-07-22Enhanced node refc bookkeepingRickard Green
2019-07-22Fix node container refc tests of ETSRickard Green
2019-07-22Fix node refc test of external dataRickard Green
2019-07-22Merge branch 'rickard/node-refc-tests-21' into rickard/node-refc-tests-22Rickard Green
* rickard/node-refc-tests-21: Node container refc test for persistent terms Include persistent term storage in node/dist refc check Fix node refc test for system message queue
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-22Node container refc test for persistent termsRickard Green
2019-07-22Include persistent term storage in node/dist refc checkRickard Green
2019-07-22Merge branch 'rickard/node-refc-tests-20' into rickard/node-refc-tests-21Rickard Green
* rickard/node-refc-tests-20: Fix node refc test for system message queue
2019-07-22Fix node refc test for system message queueRickard Green
2019-07-22Merge branch 'kjell/stdlib/io_colums_io_rows/OTP-15959/ERL-717' into maintKjell Winblad
* kjell/stdlib/io_colums_io_rows/OTP-15959/ERL-717: Fix io:columns() and io:rows() are not working from escripts bug
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-18[esock|test] Add two placeholder test cases: error and lingerMicael Karlberg
Added two place holder test cases for the socket options error and linger. OTP-15904
2019-07-18[esock|test] Update the bindtodevice test caseMicael Karlberg
Handle the eperm error reason that can be returned when attempting to use 'bindtodevice'. OTP-15904
2019-07-18[esock] Fixed a copy-and-paste error for bindtodeviceMicael Karlberg
Fixed a copy-and-paste error for socket option bindtodevice. Incorrectly used SO_BROADCAST option instead. OTP-15904
2019-07-18[esock|test] Make the broadcast test case more forgivingMicael Karlberg
OTP-15904
2019-07-18[esock|test] Some platforms does not accept acceptconn for UDPMicael Karlberg
Some platforms (for example darwin and OpenBSD) does not accept this option for UDP. Will result in 'enoprotoopt'. So, skip that part of the test case (UDP) if this error occurs. OTP-15904
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-18Merge branch 'bmk/erts/esock/20190718/socket_option_keepalive/OTP-15904' ↵Micael Karlberg
into bmk/erts/esock/20190717/socket_options/OTP-15904
2019-07-18Merge branch 'bmk/erts/esock/20190718/socket_option_dontroute/OTP-15904' ↵Micael Karlberg
into bmk/erts/esock/20190717/socket_options/OTP-15904
2019-07-18Merge branch 'bmk/erts/esock/20190717/socket_option_domain/OTP-15904' into ↵Micael Karlberg
bmk/erts/esock/20190717/socket_options/OTP-15904
2019-07-18[esock|test] Add test case for socket option 'keepalive'Micael Karlberg
OTP-15904
2019-07-18[esock|test] Add test case for socket option 'dontroute'Micael Karlberg
OTP-15905
2019-07-17[esock|doc] *May* require admin capabilityMicael Karlberg
2019-07-17[esock|test] Add test case for the domain socket optionMicael Karlberg
OTP-15904
2019-07-17Merge branch 'bmk/erts/esock/20190717/socket_option_debug/OTP-15904' into ↵Micael Karlberg
bmk/erts/esock/20190717/socket_options/OTP-15904
2019-07-17[esock|doc] Clarify select infoMicael Karlberg
Clarify select info, used in various functions. OTP-15731
2019-07-17[esock|test] Add an attempt to read out the new debug valueMicael Karlberg
After a successful set of debug, also attempt to read it back to check that it actually took. OTP-15904
2019-07-17[esock|test] Add test case for socket option 'debug'Micael Karlberg
The test case must either be run with a user that has CAP_NET_ADMIN capability or by root. Otherwise the test case will be skipped (eacces). OTP-15904
2019-07-17[esock|test] Fix broadcast test on FreeBSDMicael Karlberg
On FreeBSD (for instance) the address "broadcast" (limited broadcast address = INADDR_BROADCAST) is not available (=> eaddrnotavail), so that part of the test is skipped. OTP-15904
2019-07-17[esock] Handle wildcard address 'broadcast' when bindingMicael Karlberg
Its now possible to bind a socket to the (limited) broadcast address by specifying 'broadcast' as address: socket:bind(Socket, broadcast) This is *only* valid for family 'inet'. Add testing of sending (broadcasting) to both "limited" broadcast address and "subnet-directed" broadcast address. OTP-15904
2019-07-17[esock|test] Post rebase correctionsMicael Karlberg
OTP-15904