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=2Eorg> a=
 =C3=A9crit=C2=A0:
>The branch main has been updated by glebius:
>
>URL: https://cgit=2EFreeBSD=2Eorg/src/commit/?id=3D8d3d9ca8bd3db284f6ae67=
1f1e816ba2822f0988
>
>commit 8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
>Author:     Gleb Smirnoff <glebius@FreeBSD=2Eorg>
>AuthorDate: 2024-03-23 05:44:16 +0000
>Commit:     Gleb Smirnoff <glebius@FreeBSD=2Eorg>
>CommitDate: 2024-03-23 05:44:16 +0000
>
>    tests/netinet: add UDP socket I/O tests
>   =20
>    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=2E
>   =20
>    First version tests that MSG_TRUNC and MSG_PEEK are working correctly=
=2E
>---

This breaks 32bits

/home/bapt/worktrees/main/tests/sys/netinet/udp_io=2Ec:121:45: error: comp=
arison of integers of different signs: 'ssize_t' (aka 'int') and 'u_int' (a=
ka 'unsigned int') [-Werror,-Wsign-compare]                        121 |   =
              ATF_REQUIRE(recvmsg(s[0], &msg, MSG_PEEK) =3D=3D n);         =
                               |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~^~~~~                                   /home/bapt/obj/home=
/bapt/worktrees/main/i386=2Ei386/tmp/usr/include/atf-c/macros=2Eh:144:15: n=
ote: 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>