On Tue, 27 Jan 2026 at 22:18, Gleb Smirnoff <[email protected]> wrote:
>
> The branch main has been updated by glebius:
>
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=8a9508563542d709b1a42a065e6e99e004a8b3fe
>
> commit 8a9508563542d709b1a42a065e6e99e004a8b3fe
> Author:     Gleb Smirnoff <[email protected]>
> AuthorDate: 2026-01-27 21:13:11 +0000
> Commit:     Gleb Smirnoff <[email protected]>
> CommitDate: 2026-01-27 21:17:08 +0000
>
>     tests/kern: make ssl_sendfile:truncate and ssl_sendfile:grow less flaky
>
>     First problem is a trivial race that the client thread doesn't see updated
>     c.sbytes.  Second problem applies only to the truncate test.  On a machine
>     with huge default buffer sizes, there is a chance that sendfile(2) will
>     fill both buffers with amount of data that is larger than the size we plan
>     to truncate.  To minimise chances for this scenario, increase file size
>     and truncate it less aggressively, also try to decrease buffer sizes.
> ---
>  tests/sys/kern/ssl_sendfile.c | 18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)


This test fails if I run `make buildworld' with MK_OPENSSL=no
IMHO this test needs to be disabled in tests/sys/kern/Makefile for MK_OPENSSL=no

-Wolfram

--- ssl_sendfile ---
/home/wosch/projects/freebsd-src/tests/sys/kern/ssl_sendfile.c:38:10:
fatal error: 'openssl/ssl.h' file not found
   38 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
*** [ssl_sendfile.pieo] Error code 1

make[6]: stopped making "all" in /home/wosch/projects/freebsd-src/tests/sys/kern
make[6]: 1 error


-- 
Wolfram Schneider <[email protected]> https://wolfram.schneider.org

Reply via email to