Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 09:58:02 +0100
From:      Baptiste Daroussin <bapt@nours.eu>
To:        dev-commits-src-all@freebsd.org, Gleb Smirnoff <glebius@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   =?US-ASCII?Q?Re=3A_git=3A_8d3d9ca8bd3d_-_main_-_test?= =?US-ASCII?Q?s/netinet=3A_add_UDP_socket__I/O_tests?=
Message-ID:  <DEB7B70A-BEFD-49A8-9F73-04003EA70A53@nours.eu>
In-Reply-To: <202403230545.42N5jdfw046813@gitrepo.freebsd.org>
References:  <202403230545.42N5jdfw046813@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Le 23 mars 2024 06:45:39 GMT+01:00, Gleb Smirnoff <glebius@FreeBSD.org> a écrit :
>The branch main has been updated by glebius:
>
>URL: https://cgit.FreeBSD.org/src/commit/?id=8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
>
>commit 8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
>Author:     Gleb Smirnoff <glebius@FreeBSD.org>
>AuthorDate: 2024-03-23 05:44:16 +0000
>Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
>CommitDate: 2024-03-23 05:44:16 +0000
>
>    tests/netinet: add UDP socket I/O tests
>    
>    Start a file that would collect tests for I/O functionality of a UDP
>    socket, targeted on how a socket interacts with userland rather than with
>    wire side of the protocol.
>    
>    First version tests that MSG_TRUNC and MSG_PEEK are working correctly.
>---

This breaks 32bits

/home/bapt/worktrees/main/tests/sys/netinet/udp_io.c:121:45: error: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'u_int' (aka 'unsigned int') [-Werror,-Wsign-compare]                        121 |                 ATF_REQUIRE(recvmsg(s[0], &msg, MSG_PEEK) == n);                                        |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~                                   /home/bapt/obj/home/bapt/worktrees/main/i386.i386/tmp/usr/include/atf-c/macros.h:144:15: note: expanded from macro 'ATF_REQUIRE'                                 144 |         if (!(expression)) \                       |               ^~~~~~~~~~


Bapt




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DEB7B70A-BEFD-49A8-9F73-04003EA70A53>