Age | Commit message (Collapse) | Author |
|
OTP-15904
|
|
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
|
|
into bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
into bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
OTP-15904
|
|
OTP-15905
|
|
OTP-15904
|
|
After a successful set of debug, also attempt to read it back
to check that it actually took.
OTP-15904
|
|
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
|
|
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
|
|
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
|
|
OTP-15904
|
|
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
|
|
OTP-15904
|
|
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
|
|
|
|
|
|
Extend the "checks" for faulty gcc (found another platform
with the same problem (Old SLES 11).
Also tweaked the multicast test a bit.
|
|
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
|
|
"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
|
|
OTP-15897
|
|
OTP-15897
|
|
OTP-15897
|
|
OTP-15897
|
|
OTP-15897
|
|
OTP-15897
|
|
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
|
|
|
|
|
|
|
|
|
|
* 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}
|
|
Sometimes processes have not had the time to spread
from one scheduler. Force spread by using the undocumented
'scheduler' option.
|
|
* rickard/test-fixes-20:
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}
|
|
|
|
|
|
Sometimes processes have not had the time to spread
from one scheduler. Force spread by using the undocumented
'scheduler' option.
|
|
The api_m_debug test case seems to trigger a gcc bug that
causes a segfault on an ancient Fedora 16 VM (with gcc
version 4.6.3-2). The simplest way to avoid this is to
test for this specific (gcc) version...
OTP-15817
|
|
We use the netstat program to find a multicast address.
But that program write some stuff stderr which confused
the code. Add an attempt to filter out anything comming
on stderr. Also try to catch errors, end "translate"
them into skip.
|
|
The previous test amount could take up to 3 hours to finish!
|
|
|
|
|
|
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
|
|
Add two simple (traffic) counter test cases, to test counter
actions for normal traffic (send and receive using sendmsg
and recvmsg).
One for IPv4 udp and one for unix-domain-socket stream (udp).
OTP-15818
|
|
Add two simple (traffic) counter test cases, to test
counter actions for normal traffic (send and receive
using sendmsg and recvmsg).
One for IPv4 tcp and one for unix-domain-socket stream (tcp).
OTP-15818
|
|
Add two simple (traffic) counter test cases, to test
counter actions for normal traffic (send and receive
using sendto and recvfrom).
One for IPv4 udp and one for unix-domain-socket dgram (udp).
OTP-15818
|
|
Add two simple (traffic) counter test cases, to test
counter actions for normal traffic (send and receive
using send and recv).
One for IPv4 tcp and one for unix-domain-socket stream (tcp).
OTP-15818
|
|
* sverker/system_info-procs-bug/ERL-979/OTP-15909:
Fix fatal bug in erts_proc_sig_signal_size
|
|
OTP-15817
|
|
Add a simple test case that tests that its possible to
perform socket:setopt(Socket, ip, [add|drop]_membership, MReq).
OTP-15908
|