From nobody Mon Jan 06 17:25:57 2025 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 4YRh0j5CFQz5jv3f; Mon, 06 Jan 2025 17:25:57 +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 4YRh0j464Tz46ZN; Mon, 6 Jan 2025 17:25:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736184357; 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=GpVMz+i/SI/OA42IoFSUsdo0uPksZpKDlJSGMB6M9pI=; b=uLxewyb/McaRSyDoLxxJCH6/J4XcPcqNmWA+elpY+aeQu8+Qgx2S6tGmIExV07KApPNbEf sH5tHacnfMi6ad7/izwAvO2lI/9PD2x6xL+giSQVVU87D5lqcDYwiHVtJT8xl8QgyWjadr g5dciiiL3FHlfIhWLo31Ci4/QDDdDBRFTeTuSiqlfh3vyoOxVVzr1HvJJhy4QX7PvnG+0s mhIELsxwV40VoxuIJg4Ztv6rJBQ1eKB9bZ/98kW34mAdgR0KCPTKJtBnLdg5KnBvx8hEn1 gdPPZ1pt6EB6stjRO8ruxYVhtaSD0s625YS+hN1sSkgI982wN4Xb+SnaLXvhpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736184357; 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=GpVMz+i/SI/OA42IoFSUsdo0uPksZpKDlJSGMB6M9pI=; b=D77kr4FqENOhezNhdg+EsOZVp7z6IGsNqY8CFREryTVpAOP9Mn7Hu1zwe070dmGwEW9GdX mzV6108VjDqHdm3WbKgP0ccOAf4v9pV5fotHBllqk0Hz6B1gcxeSB89JhiLMzCujUu+U+1 DQlLNiDo/VawCQtsFhCQ+TijuofnfxHpqyPcTpXS9cAgh57guOEpVrjfzwiTVz1K4SCRUq 4uQDJoExxqjh+onbUb/wGZsBTLXsZ/+9uv85DEv83YmgZqAgB1XLxc7rKV6vLLkpkIE7J0 HqnGIDjOtUKG0QjbOPJAhNDhpLUh2MeUHmfGM4lh7zDeR9hEA7Scm42JdBbRGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736184357; a=rsa-sha256; cv=none; b=HQWVDophr3XC0Mzr1MZRtGxZ2WxvCIYQx4Qo5hN0jSXLbfY9fAk5eR9SIi10OpyxBiF8u3 9Aop+xZbyRVM7pCM79D/oJcYgC1QdobQoN5ACyAAgck+nxy4Yvl3AzG3tAOY4C777+Ao30 Z2Aylf2wfshms0t1w+BV43zU0JRpGfgvs5Q8APy1hJxFfLQB/Ju+RjdnrurGRyIkbGl8F6 ir3jctq5x3/F1p5PjKpMZ+PUDY5MQ6Q0DDQ73GRzVsamMAuagbmr+8olS1qUKZ9eiRt8rz ud30U64LGvjfXp86j2lHMcpWEzROt2q0/0+zRgdMJxrzKmxMnZ8Higr4G/B3mA== 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 4YRh0j3Q8pzZ7t; Mon, 06 Jan 2025 17:25:57 +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 506HPvu7032897; Mon, 6 Jan 2025 17:25:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 506HPvfB032894; Mon, 6 Jan 2025 17:25:57 GMT (envelope-from git) Date: Mon, 6 Jan 2025 17:25:57 GMT Message-Id: <202501061725.506HPvfB032894@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: c2153a533ffb - main - fusefs: minor cleanup in the tests 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-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: c2153a533ffb9691848a072c7628dcf56e0e6442 Auto-Submitted: auto-generated The branch main has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=c2153a533ffb9691848a072c7628dcf56e0e6442 commit c2153a533ffb9691848a072c7628dcf56e0e6442 Author: Alan Somers AuthorDate: 2024-12-27 21:24:17 +0000 Commit: Alan Somers CommitDate: 2025-01-06 17:25:52 +0000 fusefs: minor cleanup in the tests Delete some unused includes and member variables. MFC after: 2 weeks Sponsored by: ConnectWise --- 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 f8684ee02100..ced291836da0 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