From nobody Thu Mar 30 17:55:28 2023 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 4PnWKr6vmRz4267q; Thu, 30 Mar 2023 17:55:28 +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 4PnWKr6Ftyz4bnS; Thu, 30 Mar 2023 17:55:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680198928; 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=X/rPGeIu31dz9sKCX6wgQ9R79lPR1Daa4Id0QKQy99o=; b=nsizacolhbTAnCtK3KhttwZ87cpsroNQE728ZaAwB5JN2dTxiG/H0m0w6jIiAH+24TTSQs 1YdPCWPPkTveZ5e+i3X33kXkQGyL2Z0k5Bn6nFTxPWHGtI/WFEiJvwi41xiQSMMaDHwOtt A3eKqD1mL9RKJopecY8fk8tFpQMSo6xe1QC1jsJDJ3KpjSXT09cM3DQLH4kjaACHNdpVen XLiGwUTaa1oW6LKTIpS89QNG9xAVnHM+wtg1oy5XK4Bc26PVAZs5q/Yq0na1rch+DB06Ij DVxklokI1rrWy5DXb9sl+wpPxUJenvJtPTTOuJlkWbxQYQakdmHKky4wr3zTiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680198928; 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=X/rPGeIu31dz9sKCX6wgQ9R79lPR1Daa4Id0QKQy99o=; b=NGJB0kg2P4ZjyhwxcnEEWhMtCTUyHtGPI4/P6J/u+huC9su5mDa0/ixfxvfpYS3g3xoq+V ZiVcv9+FYAX6noy2TrD+feAm1GWsiQ6w3b2brTVWJi9M7z9YF+nkaP7hhWIEFl2sTATYHl CtC5yrdV0Xaw4RJFyTGy1PGIwTzI8Ar4ONOKJ6y4F1ZU2ZbzqZDQE/GpIGvx3rX/MIIfAw ypZV9OUIMVUTKYWDI+YqbgpuKKijBksnmEOsyQXAY1JYmhM98Ly5rxaPUmTUq3g27xqCzu RF2wEKUthrNC8aCLBS/oIZGv5s5kVeC0TPOkQ8EHDUeOQrK2h0GpHTHfwWiiLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680198928; a=rsa-sha256; cv=none; b=uFRSBEtC6vTF+1DIShghRmS/nMguQ2cStqnYl1y91oQgAiT4wTyDIpllHMehXz3E6KEUQB lxP7kKez1B21xjS+P1jfrO1HZn/IqYIBbtNL97f82ubQejpMNI54kr/+IPsFqWqRh2HG4x Vxph79IyLR42hJ7IFssyUGQgavWw40AkmGnA6Prgqs3Lz70L7u1SLzl3jVhexJYqUQwQMw Xd/YSwqB+otNqFK+eB9eMX+ovE4wFr0F49G75ySbhnERs9FxbsX4YaV4g9Jzl2clpwDHIM wQMdbJK9UAjNnv09YGcnB44e1YioSVgLfDuJQhvB/M7DWGgcbh1S7fu/EmzNog== 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 4PnWKr5L0PzMQY; Thu, 30 Mar 2023 17:55:28 +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 32UHtSts008016; Thu, 30 Mar 2023 17:55:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32UHtS7H008015; Thu, 30 Mar 2023 17:55:28 GMT (envelope-from git) Date: Thu, 30 Mar 2023 17:55:28 GMT Message-Id: <202303301755.32UHtS7H008015@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 889b5662ce06 - main - fdgrowtable tests: Address a set-but-not-used warning 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 889b5662ce06ad01f87f1e501dc56c7bc50bbf9b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=889b5662ce06ad01f87f1e501dc56c7bc50bbf9b commit 889b5662ce06ad01f87f1e501dc56c7bc50bbf9b Author: Mark Johnston AuthorDate: 2023-03-30 17:53:48 +0000 Commit: Mark Johnston CommitDate: 2023-03-30 17:55:06 +0000 fdgrowtable tests: Address a set-but-not-used warning MFC after: 1 week --- tests/sys/kern/fdgrowtable_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sys/kern/fdgrowtable_test.c b/tests/sys/kern/fdgrowtable_test.c index 794342eaa808..023a25ffe5e6 100644 --- a/tests/sys/kern/fdgrowtable_test.c +++ b/tests/sys/kern/fdgrowtable_test.c @@ -233,6 +233,7 @@ ATF_TC_BODY(oldtables_shared_via_process, tc) /* get current status of child */ wpid = waitpid(child, &status, WUNTRACED); + ATF_REQUIRE(wpid == child); /* child should be stopped */ ATF_REQUIRE(WIFSTOPPED(status)); @@ -254,6 +255,7 @@ ATF_TC_BODY(oldtables_shared_via_process, tc) /* child should have exited */ wpid = waitpid(child, &status, 0); + ATF_REQUIRE(wpid == child); ATF_REQUIRE(WIFEXITED(status)); ATF_REQUIRE(WEXITSTATUS(status) == 127); }