aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/socket_SUITE.erl
AgeCommit message (Collapse)Author
2019-05-29[esock|test] Attempt to create a ttest reportMicael Karlberg
Attempted to implement a common report function for the time test (ttest). Not complete.
2019-05-29[esock|test] Fixed async ttestMicael Karlberg
Updated the ttest test(s) to handle async properly. OTP-15731
2019-05-29[esock] Changed return value for a selected async callMicael Karlberg
The return value for an async call (Timeout = nowait) will now (normally) result in a {select, SelectInfo} instead (if a select was performed). OTP-15731
2019-05-29[esock|test] Add multi async recv and recvmsg TCP test case(s)Micael Karlberg
Add recv and recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async accept TCP test caseMicael Karlberg
Add accept test case testing the abort message received when "another" process closes a socket. Multiple accept(ors) for good measure.
2019-05-29[esock|test] Add multi async recvmsg UDP test caseMicael Karlberg
Add recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async recvfrom UDP test caseMicael Karlberg
Add recvfrom test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[socket|test] Add async to ttestMicael Karlberg
Make it possible for the tttest server to run with async.
2019-05-29[socket] Add recvmsg(nowait) cancel on tcp test caseMicael Karlberg
Add the recvmsg(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add recv(nowait) cancel on tcp test caseMicael Karlberg
Add the recv(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add accept(nowait) cancel test caseMicael Karlberg
Add the accept(nowait) cancel test cases. Also fixed some timetrap times.
2019-05-29[socket] Add recvmsg(nowait) cancel test caseMicael Karlberg
Add the recvmsg(nowait) cancel test cases.
2019-05-29[socket] Add cancel and the first recvfrom(nowait) cancel test caseMicael Karlberg
Add the (public) cancel function and the first of the cancel test cases (recvfrom(nowait)).
2019-05-29[socket] Add nowait test case (sendmsg and recvmsg tcp4)Micael Karlberg
Added test case api_a_sendmsg_and_recvmsg_tcp4.
2019-05-29[socket] Add nowait test case (send and recv tcp4)Micael Karlberg
Added test case api_a_send_and_recv_tcp4.
2019-05-29[socket] Add nowait test case (sendmsg and recvmsg udp4)Micael Karlberg
Added test case api_a_sendmsg_and_recvmsg_udp4.
2019-05-29[socket] First nowait test case (sendto and recvfrom udp4)Micael Karlberg
Added test case api_a_sendto_and_recvfrom_udp4. Also, fixed duplicate spec.
2019-05-29[esock|test] Add condition for running ping pong test caseMicael Karlberg
Add condition for running the large ping-pong sendmsg/recvmsg test case. Also add a limit to the path creation (max number of tries). OTP-15822
2019-05-29[esock|test] Skip some test cases on old linux(s)Micael Karlberg
OTP-15822
2019-05-29[esock|test] Try even harder to make unique pathMicael Karlberg
Some (Unix Domain socket) test cases fails because the path (supposedly) already existed on a (admittedly old) gento VM. So, we try enen harder to ensure that the path is unique... OTP-15822
2019-05-29[esock|test] Fixed host cond testMicael Karlberg
Incorrect host condition test for linux (the api timeout connect test cases). OTP-15822
2019-05-29[esock|test] Skip Unix Domain stream test case on Open IndianaMicael Karlberg
On OpenIndiana Hipster on a Unix Domain stream socket it may be possible to set a *large* recv buffer size, that will actually not work. So, to avoid issues, simply skip the traffic_ping_pong_large_send_and_recv_tcpL on that platform. OTP-15822
2019-05-29[esock|test] On some platforms recvmsg does *not* return addressMicael Karlberg
On some platforms, e.g. FreeBSD, recvmsg does *not* return address for a Unix Domain (stream) socket. Unlike, for instance, on Linux. OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = once Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/csf/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = false Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = once Message Size: small, medium and large Also added server path cleanup when closing. OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/csf/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = false Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (ssf/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (ssf/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = once Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case (ssf/csf/l) work for local (stream)Micael Karlberg
Add ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: large OTP-15822
2019-05-29[esock|test] Add ttest case (ssf/csf/m) work for local (stream)Micael Karlberg
Add ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: medium OTP-15822
2019-05-29[esock|test] Made the first ttest case (ssf/csf/s) work for local (stream)Micael Karlberg
Add the first *working* ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: small OTP-15822
2019-05-29[esock|test] Improved the path "unlink"Micael Karlberg
Wrapped unlinking of path (for Unix Domain sockets) in a utility function. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg large ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg large ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg medium ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom medium ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom medium ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom small ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv large ping-pong test case for localMicael Karlberg
Add a (plain) send and recv large ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv medium ping-pong test case for localMicael Karlberg
Add a (plain) send and recv medium ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv small ping-pong test case for localMicael Karlberg
Add a (plain) send and recv small ping-pong test case for Unix Domain (stream) socket. Also fixed minor bug in setopt for level 'otp' and option rcvbuf. Could not be changed if unix domain (stream) socket (local). OTP-15822
2019-05-29[esock|test] Add simple plain send and recv test case for local (stream)Micael Karlberg
Add simple (plain) send and recv chunks test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote shutdown recvmsg test case for local (stream)Micael Karlberg
Add remote shutdown(write) recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote shutdown (plain) recv test case for local (stream)Micael Karlberg
Add remote shutdown(write) recv response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote close recvmsg test case for local (stream)Micael Karlberg
Add remote close recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote close (plain) recv test case for local (stream)Micael Karlberg
Add remote close recv response test case for Unix Domain (stream) socket. OTP-15822