The branch, master has been updated via d788cef tests: Enable threaded test cases on FreeBSD via a2d7735 tests: Increase backlog count for listen() in echo_srv from 299af4a gitlab-ci: Add csbuild
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit d788cef44dc998ce51aeb9637145bf1d1cd58a9b Author: Anoop C S <anoo...@redhat.com> Date: Sat Nov 10 10:57:27 2018 +0530 tests: Enable threaded test cases on FreeBSD It was previously judged as a bug which now turned to be due to wrong backlog count set in echo_srv while listening on socket. Signed-off-by: Anoop C S <anoo...@redhat.com> Reviewed-by: Andreas Schneider <a...@samba.org> Reviewed-by: Ralph Boehme <s...@samba.org> commit a2d7735ac7e8c3e9da15b6642c4f6e832ad7fa4d Author: Anoop C S <anoo...@redhat.com> Date: Sat Nov 10 10:56:24 2018 +0530 tests: Increase backlog count for listen() in echo_srv Signed-off-by: Anoop C S <anoo...@redhat.com> Reviewed-by: Andreas Schneider <a...@samba.org> Reviewed-by: Ralph Boehme <s...@samba.org> ----------------------------------------------------------------------- Summary of changes: tests/CMakeLists.txt | 12 ------------ tests/echo_srv.c | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) Changeset truncated at 500 lines: diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 829c243..1da839c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -107,18 +107,6 @@ foreach(_SWRAP_TEST ${SWRAP_TESTS}) add_cmocka_test_environment(${_SWRAP_TEST}) endforeach() -# These test will fail on because there is a threading race condition in -# FreeBSD. -# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231848 -if (FREEBSD) - set_tests_properties(test_thread_echo_tcp_connect - PROPERTIES DISABLED TRUE) - set_tests_properties(test_thread_echo_tcp_write_read - PROPERTIES DISABLED TRUE) - set_tests_properties(test_thread_echo_tcp_sendmsg_recvmsg - PROPERTIES DISABLED TRUE) -endif() - if (HELGRIND_TESTING) find_program(VALGRIND_EXECUTABLE valgrind) if (VALGRIND_EXECUTABLE) diff --git a/tests/echo_srv.c b/tests/echo_srv.c index 957a3ad..fac4e8e 100644 --- a/tests/echo_srv.c +++ b/tests/echo_srv.c @@ -30,7 +30,7 @@ #define ECHO_SRV_IPV6 "fd00::5357:5f0a" #define DFL_PORT 7 -#define BACKLOG 5 +#define BACKLOG 16 #ifndef BUFSIZE #define BUFSIZE 0x20000 /* 128K */ -- Socket Wrapper Repository