test_echo_tcp_sendmsg_recvmsg_fd: also test passing the same socket up to 6 times
authorStefan Metzmacher <metze@samba.org>
Fri, 5 Feb 2021 13:20:16 +0000 (14:20 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 8 Feb 2021 18:29:57 +0000 (19:29 +0100)
commit2d93f75669a432723c90e20c3f9b2e2abfa55545
tree59d4865ff0f9e32160fa2349d4b6eb1bff477d6e
parent5aa939f2eb3f3ab04b65fde031a0c1f151928121
test_echo_tcp_sendmsg_recvmsg_fd: also test passing the same socket up to 6 times

Note SWRAP_MAX_PASSED_FDS is currently 6.

This test demonstrates that even 64-bit systems required commit:
"swrap: fix fd-passing without 4 padding bytes"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
tests/test_echo_tcp_sendmsg_recvmsg_fd.c