From nobody Sat Jan 01 03:39:03 2022 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 94669191F49D; Sat, 1 Jan 2022 03:39:03 +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 4JQnml2B65z3sMy; Sat, 1 Jan 2022 03:39:03 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 280FA1784B; Sat, 1 Jan 2022 03:39:03 +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 2013d3ue095726; Sat, 1 Jan 2022 03:39:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2013d3Ih095725; Sat, 1 Jan 2022 03:39:03 GMT (envelope-from git) Date: Sat, 1 Jan 2022 03:39:03 GMT Message-Id: <202201010339.2013d3Ih095725@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alan Somers Subject: git: 19ab36104534 - main - fusefs: in the tests, always assume debug.try_reclaim_vnode is available 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: 8bit X-Git-Committer: asomers X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19ab361045343bb777176bb08468f7706d7649c4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641008343; 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=P/SMzcn5pHVLiQBYm1Imb2h04goUqLJhEfzsAehWb5Y=; b=xg7jBuzwKia90MDw/3a6FlZmpHky5Cfb7wecICFvAmucySXH49IjIpDKfCbQS9YRtS0QvU X/YIFP9D3ZmfMEIeKWZ7ocBrBcJzFo7qYtqskrMLTDrK0p7p6w3/8/YbCtUwfHQsyIEYvn kaD5eMRNJATfVkrnNxpRCjG8GCZieKlMbl6YRPXEcX2pp1XmNkDqRpdeMstqSeFMHEJZMy nzAPlPuJAEN4fsYYZjadGumtUJ0EYhhhQgk4uD/MHUUsYsUlPlDv5anunF1ewfbT0CkGzn joEHoBpYT/BNImmcCOJUacaELYZLH0/+DkpgjVBtNug/MMSWKx2WGTo2zdo2rg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641008343; a=rsa-sha256; cv=none; b=I3h1k5sIUUGT1rU/1wZoZwhSSsRi7/ITcODIYk2XMTZIl/Ce71pXdU6HTiNxDwOt8tp7cP HJeFogRQHbhJddEYF6qqoFPIN0w0DBu/vLrPIyuLz9dXaUGHUVtr1MeANrSDbcIrEhKV4H ykL7qPS3XHlUANK+A8b4hiALZChXjLj1rQTO1ULQdvgaYvSg/LKAYD1qwSe4WV3QTtqE1k bddVwa89Hez9E/ARSVnqz3oz2L3LCoC8E4VU6ij2obKDvRx9tLmt7Mu5J7+2Hv6goooUBR 1nbxKRXdyMn6ccYohWLz7yzuiQ8M32Xw0B85WsW+/Cl8lfuWyoP8i0hZd3sJgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=19ab361045343bb777176bb08468f7706d7649c4 commit 19ab361045343bb777176bb08468f7706d7649c4 Author: Alan Somers AuthorDate: 2021-12-02 02:38:04 +0000 Commit: Alan Somers CommitDate: 2022-01-01 01:04:52 +0000 fusefs: in the tests, always assume debug.try_reclaim_vnode is available In an earlier version of the revision that created that sysctl (D20519) the sysctl was gated by INVARIANTS, so the test had to check for it. But in the committed version it is always available. MFC after: 2 weeks --- tests/sys/fs/fusefs/forget.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/sys/fs/fusefs/forget.cc b/tests/sys/fs/fusefs/forget.cc index c138b7acc4aa..2041d20efae4 100644 --- a/tests/sys/fs/fusefs/forget.cc +++ b/tests/sys/fs/fusefs/forget.cc @@ -52,10 +52,6 @@ void SetUp() { if (geteuid() != 0) GTEST_SKIP() << "Only root may use " << reclaim_mib; - if (-1 == sysctlbyname(reclaim_mib, NULL, 0, NULL, 0) && - errno == ENOENT) - GTEST_SKIP() << reclaim_mib << " is not available"; - FuseTest::SetUp(); }