From nobody Mon Jan 20 16:52:22 2025 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 4YcGbV5HrHz5kM52; Mon, 20 Jan 2025 16:52:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YcGbV2gZXz3Wrk; Mon, 20 Jan 2025 16:52:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737391942; 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=Ih8Pye3wcoa7OO+fQ+BSCRb7vZDGabatpLferJIFYLo=; b=fjbdzgqSDOo3F7urIu4w61UsX+hK87isRThOVC1hb0n38gn0ng7WX51i5RkknopLvHmTmA 5A1K+dfwVIcKKSJ4Uo6SsJe8tsCWfOcUXH7LQiva1Ne0Y9dzuN8rzyzguvHLPgiHvcmln4 sxojB5eSW+e/5EpXMPb9HcjlucKan6QOMZgJKQSxl1dGFdZCgtlydQSS8Ut1g/5Kq+dlbi h+AsJa1kZKzVjyvdkzzqLQzIqaCxC7nURXtyWV82ehw2ad87ha54VHJUqY3W+wlNXe6y13 cmZt/wsLj7hmi39Rd1ZN3DQyfa+G9epcutzUzFCDRkkyeR6ri0dx3PVUXWexLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737391942; 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=Ih8Pye3wcoa7OO+fQ+BSCRb7vZDGabatpLferJIFYLo=; b=XSK58DiW52rrWcpcIlNyQKSXTlB2Aj8z/qiF/sI9CJ2GEqI6+zmmotdMx1xjlhObuW1Tsm ylTRlQ2IP/lrOu81mQ2S6PUewqo28kAKks3tu4YKCqphzGjfoALv3FL850TVVxrbEGeSoK JWhR1fuVi0W/46PJAWLfo7OyIVrc53esDS8zoAZPdf8HJSbaC2xZY7VHP9GNhD1XdZax1q EbPoxng9yizetQ/nfr/QhL23xAlSc7Ea1JDjN9eWHARHrjUJczo/dL8QulbymaYWGOc7Va JbE00JJ5JAyl61s9w39HiZFkK7epEb0iemGnu8hfKYgXYr6LkLSmFhgB3AL59A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737391942; a=rsa-sha256; cv=none; b=Xb9nxb3Ubsr/R9ukX4Zv4AC6SCrMeub9M6ASCgq8T/PqlPZRIVWu97CpZYbIJ1Z+H0nebe M+oJRnzfHW4iVRit1a+QowbZQbV4uSNU/7B2sMq5gLoFN+KTgLVQIwBX3/vVRbcFdF7AaX 6KUysOCMxeAYJQaHFF4y87ufpIcia7Yg3B/T0kkLEkmoRQ5cXNZu2E42ltU56Mv8Vqwu9Z yQpZIIa4UObDoucqRQXuyeF/YK7oWikI5EOehOaKB9aoFa5MImqKpaHho6kZ5rGbyLkBPJ +vR1HVlf0axMzZqOfG5JqDRyPIzknklPZGwFwKDaxIzdLtDpCabOlzlBMnNvIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YcGbV1zf5zD7G; Mon, 20 Jan 2025 16:52:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50KGqMj5067354; Mon, 20 Jan 2025 16:52:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50KGqMiU067351; Mon, 20 Jan 2025 16:52:22 GMT (envelope-from git) Date: Mon, 20 Jan 2025 16:52:22 GMT Message-Id: <202501201652.50KGqMiU067351@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alan Somers Subject: git: 8b2b77c32f2e - stable/14 - fusefs: minor cleanup in the tests 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 8b2b77c32f2e46c89aa7b60610003b1733f7a0e0 Auto-Submitted: auto-generated The branch stable/14 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=8b2b77c32f2e46c89aa7b60610003b1733f7a0e0 commit 8b2b77c32f2e46c89aa7b60610003b1733f7a0e0 Author: Alan Somers AuthorDate: 2024-12-27 21:24:17 +0000 Commit: Alan Somers CommitDate: 2025-01-20 16:51:48 +0000 fusefs: minor cleanup in the tests Delete some unused includes and member variables. Sponsored by: ConnectWise (cherry picked from commit c2153a533ffb9691848a072c7628dcf56e0e6442) --- tests/sys/fs/fusefs/allow_other.cc | 3 --- tests/sys/fs/fusefs/forget.cc | 1 - tests/sys/fs/fusefs/io.cc | 1 - tests/sys/fs/fusefs/notify.cc | 1 - 4 files changed, 6 deletions(-) diff --git a/tests/sys/fs/fusefs/allow_other.cc b/tests/sys/fs/fusefs/allow_other.cc index dae6290ea8e5..24a161166a90 100644 --- a/tests/sys/fs/fusefs/allow_other.cc +++ b/tests/sys/fs/fusefs/allow_other.cc @@ -52,9 +52,6 @@ const static char RELPATH[] = "some_file.txt"; class NoAllowOther: public FuseTest { public: -/* Unprivileged user id */ -int m_uid; - virtual void SetUp() { if (geteuid() != 0) { GTEST_SKIP() << "This test must be run as root"; diff --git a/tests/sys/fs/fusefs/forget.cc b/tests/sys/fs/fusefs/forget.cc index 846198e75925..1e7764ac4782 100644 --- a/tests/sys/fs/fusefs/forget.cc +++ b/tests/sys/fs/fusefs/forget.cc @@ -31,7 +31,6 @@ extern "C" { #include #include -#include #include #include diff --git a/tests/sys/fs/fusefs/io.cc b/tests/sys/fs/fusefs/io.cc index 99b5eae34e09..766148044b32 100644 --- a/tests/sys/fs/fusefs/io.cc +++ b/tests/sys/fs/fusefs/io.cc @@ -31,7 +31,6 @@ extern "C" { #include #include -#include #include #include diff --git a/tests/sys/fs/fusefs/notify.cc b/tests/sys/fs/fusefs/notify.cc index e3f539f57599..1e22bde13db7 100644 --- a/tests/sys/fs/fusefs/notify.cc +++ b/tests/sys/fs/fusefs/notify.cc @@ -30,7 +30,6 @@ extern "C" { #include -#include #include #include