aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
AgeCommit message (Collapse)Author
2019-08-12Merge branch 'john/erts/bs_get_binary2-heap-binaries/OTP-15977' into maintJohn Högberg
* john/erts/bs_get_binary2-heap-binaries/OTP-15977: erts: Create heap binaries in binary:split/2-3 erts: Create heap binaries in binary_part/2-3 erts: Create heap binaries in split_binary/2 erts: Create heap binaries in bs_get_binary2 erts: Remove size check in bs_start_match erts: Disallow binaries whose size in bits exceeds UWORD_MAX
2019-08-09erts: Create heap binaries in split_binary/2John Högberg
2019-08-07erts: Escape atoms in erlang:fun_to_list/1John Högberg
2019-07-30Merge branch 'bmk/erts/esock/20190729/eafnosupport_on_solaris10' into maintMicael Karlberg
2019-07-30Merge branch 'bmk/erts/esock/20190717/socket_options/OTP-15904' into maintMicael Karlberg
2019-07-29[esoco|test] Attempt to handle unsupported unix domain socketMicael Karlberg
2019-07-29[esock|test] Race during socket closeMicael Karlberg
Add a sleep to reduce the chance that process exit has not been "processed" by the nif code. Also increased the test case timetrap for the sc_ctrl_proc_exit group of test cases. OTP-15904
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-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-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 '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-22Node container refc test for persistent termsRickard Green
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|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-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-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|test] Add test case for the domain socket optionMicael Karlberg
OTP-15904
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
2019-07-17[esock] Add test case for socket option bindtodeviceMicael Karlberg
Add test case for the socket option bindtodevice. Also make correction in the nif code. Used the wrong option (broadcast). Also added more info to doc. Note sure if this test case actually works. Set and get "works", but the value returned by get is always "". So either we should extend the test to made sure the bind actually has the expected effect or... Something for a rainy day maybe... OTP-15904
2019-07-17[esock|test] Add placeholder test case for socket option acceptfilterMicael Karlberg
OTP-15904
2019-07-17[esock] Add test case for socket option acceptconnMicael Karlberg
Add test case for the socket option acceptconn. Also make minor correction (error when trying to set this option was incorrect). Doc was also incorrect (spelled wrong). OTP-15904
2019-07-17Merge branch 'bmk/erts/esock/20190715/tests_tweaking' into maintMicael Karlberg
2019-07-15[esock|test] Adjusted time trapsMicael Karlberg
2019-07-15[esock|test] Extend gcc and multicast checksMicael Karlberg
Extend the "checks" for faulty gcc (found another platform with the same problem (Old SLES 11). Also tweaked the multicast test a bit.
2019-07-11[esock|test] Update the esock-ttest tool to work with IPv6Micael Karlberg
Needed to do some tweaking to make the tool work with IPv6 sockets. Also found and corrected some unrelated bugs in the tool. OTP-15897
2019-07-10[esock|test] Add missing IPv6 conditionsMicael Karlberg
"Due to" cut-and-paste, a number of IPv6 test cases was missing the condition fun for validating IPv6 support (which caused a couple of IPv6 test cases to fail on platforms not supporting IPv6). OTP-15897
2019-07-10[esock|test] Make the ttest groups of test cases work with IPv6Micael Karlberg
OTP-15897
2019-07-09[esock|test] Add a bunch of api async IPv6 test casesMicael Karlberg
OTP-15897
2019-07-09[esock|test] IPv6 socket address includes optional fieldsMicael Karlberg
OTP-15897
2019-07-09[esock|test] IPv6 socket address includes optional fieldsMicael Karlberg
OTP-15897
2019-07-09Merge branch 'rickard/test-fixes-21' into maint-22Erlang/OTP
* rickard/test-fixes-21: Fix unstable test dump_SUITE:signal_abort Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08[esock|test] Add async IPv6 test caseMicael Karlberg
OTP-15897
2019-07-08[esock|test] Add counters IPv6 test casesMicael Karlberg
OTP-15897
2019-07-08[esock] Make it it work for IPv6Micael Karlberg
The nif code expects the socket address to be "complete", that is all fields must exist. This was not the case for a couple of functions, sendto, sendmsg and connect. What was mssing was a call to 'ensure_sockaddr'. Test: 1) Add a condition function to test if IPv6 is available and works. 2) Needed to adjust a test case (actually a common function used in several test cases) since the socket address data type has two optional fields, which we do not initiate (when sending), but the nif-code does fill in. OTP-15897
2019-07-08Merge branch 'bmk/erts/esock/20190701/improve_multicast_test' into maintMicael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190626/finalize_counters/OTP-15818' into maintMicael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190624/socket_command/OTP-15817' into maintMicael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190614/split_modules/OTP-15765' into maintMicael Karlberg
2019-07-08Merge branch 'rickard/test-fixes-21' into maintRickard Green
* rickard/test-fixes-21: Fix unstable test dump_SUITE:signal_abort Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08Fix unstable test dump_SUITE:signal_abortRickard Green
Sometimes processes have not had the time to spread from one scheduler. Force spread by using the undocumented 'scheduler' option.