summaryrefslogtreecommitdiffstats
path: root/tests/test_echo_tcp_socket_options.c
Commit message (Collapse)AuthorAgeFilesLines
* test_echo_tcp_socket_options.c: add tests for TCP_INFOStefan Metzmacher2020-06-221-0/+50
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit a37c0175492fb1b35257b785c71dea4e4f6d4750)
* Revert "test_echo_tcp_socket_options.c: add tests for TCP_INFO"Stefan Metzmacher2020-06-191-50/+0
| | | | | | | | This reverts commit a37c0175492fb1b35257b785c71dea4e4f6d4750. This got merged automatically by gitlab without review. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* test_echo_tcp_socket_options.c: add tests for TCP_INFOStefan Metzmacher2020-06-191-0/+50
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tests: Add test for TCP_NODELAY setsockopt()Andreas Schneider2015-10-141-0/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Add test for TCP_NODELAY getsockopt()Andreas Schneider2015-10-141-0/+38
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Migrate to new cmocka APIAndreas Schneider2015-08-111-14/+26
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tests: Pass the sockaddr structure to system functions.Andreas Schneider2014-09-021-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tests: Fix type punning warnings.Andreas Schneider2014-09-011-24/+24
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* SO_PROTOCOL is platform-dependentJakub Hrozek2014-07-291-1/+9
| | | | | | | | | SO_PROTOCOL is not defined on all platforms. In particular, OSX doesn't include it and so far I haven't found any compatible declaration. Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Add more tests for socket options.Andreas Schneider2014-05-261-0/+147
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Fix a possible resource leak on error in sockopt test.Andreas Schneider2014-04-141-2/+2
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Simo Sorce <idra@samba.org>
* test: Fix getsockopt on Solaris.Andreas Schneider2013-12-231-2/+3
|
* tests: Fix getsockopt() on Solaris.Andreas Schneider2013-12-231-2/+2
|
* tests: Add test_echo_tcp_socket_options().Andreas Schneider2013-12-231-0/+151