From nobody Fri May 27 21:04:38 2022 X-Original-To: dev-commits-src-all@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 5E9B81B3A48E; Fri, 27 May 2022 21:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8y3p2D90z3M9h; Fri, 27 May 2022 21:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653685478; 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; bh=f5UwkUZQAywdqkkS/QiebjFdoznS+0S0ycBwjWSsG7o=; b=xn9Kt67LemIokBErByI4zEMpzOmOVRx66tnoALxM7+H6IfyTPB1/5w3NKHV7059Ue6Dpre aOa8OaFDcJu5a5EzMC//4mOJY1fP08+ZsMdkFZn04HAgtv00BVKxLd25BVr0neZOREp3+u BpXBXOinhjownzzZQ88phEknnjD06W6httyQ5rRb0iCx2zmJPKEOFbIN5y2l/ctgarhm9w zBmNlSlyoVKTywu257aeBRfAiZzA55xRpRMFAnJk2rkyNGMak7MvTQL2dXG+e1uGrZSLz7 mlPcRqn/qpZ8Y0eOi0e1S4wsG6FwFxmSXGasZEn7M38j+1ur7+ioMOTqy4nAmg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28F5B29555; Fri, 27 May 2022 21:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24RL4clv076046; Fri, 27 May 2022 21:04:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24RL4cJ7076045; Fri, 27 May 2022 21:04:38 GMT (envelope-from git) Date: Fri, 27 May 2022 21:04:38 GMT Message-Id: <202205272104.24RL4cJ7076045@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 05882e28fbed - main - tests: Fix i386 and powerpc build List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05882e28fbedbe0bcd35a87a55ac3913a6445b6f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653685478; 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; bh=f5UwkUZQAywdqkkS/QiebjFdoznS+0S0ycBwjWSsG7o=; b=i7Mcjwneq0UBtj1wP37AjN+1GcmgPqjuug9N+pkAbPtrcOYwYBDUybHAFFPaLXInMuoxEk BsPbCZxyGK4IcPiOvY0SbW0M/rEBO6PxM5of+Znv7f0zmvcJMWd60oZB+EKBMcjLPYJ2Oh oFy6XIKkY+zxQVrRG8jJdAdNihT+Y/Te0e43kiXyEy0sUktAnN/oqx7JnbQs3YuFWVeHXw aKoXdZUm1YtAdVP0SdSgltkafhta2iaskaR2ebgm+QLYEdWoK1Rxc0D091+krSBHeo2Kc/ Tbm5mtD7KlArdMe2FrDP9OTro7O6V20QYIRBmBnD8HRpzLhqwZ93gfJPPaUdlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653685478; a=rsa-sha256; cv=none; b=n173su8QcnEEWvTozYRH4vVdP5srkF7TFZeXrGkPdTFHL2JAiK5O8Xv4KjHauVOS3Qf3pU A0YQ9ETYB3vh+UIS9SqkPXhXIlWun55HS9lqcsj+p6zGsLgR9XTmj8jynKb16WJkxJDxvs L2Zk7VHo+lpVnbp6Ut0CSLJKU/fLGdzFaEes4qAvIObCsx0qBmezxGldTjCIOhxbWc3Nlb Y79N8fVSyHJD1JYRWdk9oj/FpLE09YGR5BhIUcp68cZRSI8em8Vu3T7ekHwVzPZosxEcs7 oEC+/UwQ4Q0D0JMa86IDHWAx8HjgQb8EVJmOaHvNqdMlazkpOQmg5g/xknQVCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=05882e28fbedbe0bcd35a87a55ac3913a6445b6f commit 05882e28fbedbe0bcd35a87a55ac3913a6445b6f Author: Cy Schubert AuthorDate: 2022-05-27 14:19:53 +0000 Commit: Cy Schubert CommitDate: 2022-05-27 21:04:17 +0000 tests: Fix i386 and powerpc build Fix: tests/sys/kern/unix_passfd_test.c:414:24: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] ATF_REQUIRE(getnfds() == nfds + MAXFDS); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ powerpc.powerpc/tmp/usr/include/atf-c/macros.h:144:15: note: expanded from macro 'ATF_REQUIRE' if (!(expression)) \ ^~~~~~~~~~ 1 error generated. --- unix_passfd_test.o --- --- tests/sys/kern/unix_passfd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/unix_passfd_test.c b/tests/sys/kern/unix_passfd_test.c index da7052a7fcf4..91030d84872b 100644 --- a/tests/sys/kern/unix_passfd_test.c +++ b/tests/sys/kern/unix_passfd_test.c @@ -411,7 +411,7 @@ ATF_TC_BODY(send_a_lot, tc) ATF_REQUIRE(sendmsg(fd[0], &msghdr, 0) == 1); nfds = getnfds(); ATF_REQUIRE(recvmsg(fd[1], &msghdr, 0) == 1); - ATF_REQUIRE(getnfds() == nfds + MAXFDS); + ATF_REQUIRE(getnfds() == (int)(nfds + MAXFDS)); /* Limit our process open files... */ ATF_REQUIRE(getrlimit(RLIMIT_NOFILE, &rlim) == 0);