Age | Commit message (Collapse) | Author |
|
Fixed a copy-and-paste error for socket option bindtodevice.
Incorrectly used SO_BROADCAST option instead.
OTP-15904
|
|
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
|
|
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.
|
|
into bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
into bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
OTP-15904
|
|
OTP-15905
|
|
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.
|
|
Removed the "compile all" compiler directive for the load
megaco test suite.
|
|
Removed the "compile all" compiler directive for the examples
megaco test suite.
|
|
|
|
OTP-15904
|
|
Removed the "compile all" compiler directive for the digit map
megaco test suite.
|
|
bmk/erts/esock/20190717/socket_options/OTP-15904
|
|
Removed the "compile all" compiler directive for the config
megaco test suite.
|
|
Clarify select info, used in various functions.
OTP-15731
|
|
Removed the "compile all" compiler directive for the codec
megaco test suite.
|
|
After a successful set of debug, also attempt to read it back
to check that it actually took.
OTP-15904
|
|
Removed the "compile all" compiler directive for the call flow
megaco test suite.
|
|
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
|
|
Removed the "compile all" compiler directive for the actions
megaco test suite.
|
|
Removed the "compile all" compiler directive for the appup
megaco test suite.
|
|
Removed the "compile all" compiler directive for the app
megaco test suite.
|
|
Removed the "compile all" compiler directive for the top
megaco test suite.
|
|
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
|
|
|
|
|
|
Reworked the megaco test generator (megaco_test_generator) behaviour
to remove compiler warnings.
|
|
Removed all use of erlang:now() and the deprecated random module
from the test suite.
|
|
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.
|
|
|
|
|
|
* raimo/test-cuddling:
Fix leaking SSL node
|
|
|
|
Extend the "checks" for faulty gcc (found another platform
with the same problem (Old SLES 11).
Also tweaked the multicast test a bit.
|
|
* 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
|
|
'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
|
|
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.
|
|
|
|
|
|
|
|
* 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}
|
|
'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
|