From nobody Sat Mar 23 08:58:02 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1tQC2HQYz5DxBp; Sat, 23 Mar 2024 08:58:11 +0000 (UTC) (envelope-from bapt@nours.eu) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1tQC0JcQz4XRm; Sat, 23 Mar 2024 08:58:11 +0000 (UTC) (envelope-from bapt@nours.eu) Authentication-Results: mx1.freebsd.org; none Received: from [IPv6:::1] (2a02-8428-078f-2200-0012-1442-c487-c274.rev.sfr.net [IPv6:2a02:8428:78f:2200:12:1442:c487:c274]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 300BE22E02; Sat, 23 Mar 2024 09:58:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nours.eu; s=20190522; t=1711184282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X4Yl9lD/8BmgHtwI3YfvH/g1pzZxToPETA+i48Y2Rjg=; b=C0ctlGePTrsOi8UrXbAMoiFNm+FCjZRT5yUMXW2XhWsMIHHi5v8BGv4cXuZ1eRNVCYWXhm qAplavPG4caOg0NCWRrknlXXskT9ei+OYljYQsjsuluZ2T7XKDoQVDgfaNajsJacr0QNrU ecHpUK5vAUMacDAwDs/g1cZVdnWioaQKbWKE4jZB7hB8Goi/Vz2O1wxxNgFYu2S01OVwE0 B6wy27hR3w87jxDrYp0Y94OyPpeY+uOGFpQmkrKy5KXXSa8bY1ig7iu+6JkKTyZUJIN/Dr O6pNJksQ9jOVcf7GHydVADci5iD9phUKNx7UDzPLcI7dgQFpEMMLRr5JipzHAQ== Date: Sat, 23 Mar 2024 09:58:02 +0100 From: Baptiste Daroussin To: dev-commits-src-all@freebsd.org, Gleb Smirnoff , 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?= User-Agent: K-9 Mail for Android In-Reply-To: <202403230545.42N5jdfw046813@gitrepo.freebsd.org> References: <202403230545.42N5jdfw046813@gitrepo.freebsd.org> Message-ID: List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR] X-Rspamd-Queue-Id: 4V1tQC0JcQz4XRm Le 23 mars 2024 06:45:39 GMT+01:00, Gleb Smirnoff 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 >AuthorDate: 2024-03-23 05:44:16 +0000 >Commit: Gleb Smirnoff >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