From patchwork Wed Jan 24 08:45:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13528805 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EEFB17980 for ; Wed, 24 Jan 2024 08:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706085916; cv=none; b=J5sQyuFd37dBg07Z0OrKXDrDpdrGUlfPhX/AA1eSR5COL51GrRSnubELXIKM8VHtzYLlCgmL5AgJIQ0+uIrQKkG5JGxhJY90/bEAaaIL2GML96zdpu58WtkwnCdRW67nLm3k4C75fEovWL15n+SGoqyABpXC/UKgQKAlsIpsQNU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706085916; c=relaxed/simple; bh=LtW13U2VmlTsHGQsnt7YR3Ruzm2U7f1dOnU+x5CLoQ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ouvA3TltE4Kh+LupMFJb/6ZjI8M8AamRDo5yWw1LWUpr6KvYD+uDL45FqNhkTs1iCQMBz2hqe7heRhA9w+sL/UItHbS9G0jH1aA4JYqypE6IWczz79g/0ft296CFYmH0hytih7ja050HbJTim2SzIFSzsjCwKR2Bzh4TcJwl2TY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=iS5WJ/6T; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OI32yg0z; arc=none smtp.client-ip=64.147.123.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="iS5WJ/6T"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OI32yg0z" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 179063200AFB; Wed, 24 Jan 2024 03:45:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 24 Jan 2024 03:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1706085913; x=1706172313; bh=EZ8jZgIsKV 7VNtvWnvVvY5QB5O4qCYBdwhN0u3d2+7Y=; b=iS5WJ/6TJM6efHQYsyt2LPIPgp CZmPXdDaws0vhrJt0iLDdr+I/bdrNF9zaQbVka0OZjOAB2XQ1rnBCK7yJ0FcG5/I 95YRRr6sWOwLkeFdmGc90gjq+J54bXhhkvPE+mFLqv9JrhWYhSok+1jS2rA+TUMz JKcAOL/HYYU3Pgb5LRoiI0NT4GfEt9LuUDycUUO9zDhZbEFZHcQ3Omd9QadNCs55 32BrKGLaRcDhFD6UrZ9EeDlMT/Q5+NusrcVqRfVuLxS177DkxQRtR+OHesL0xr46 7/NPL/L9gx3i2Wq3VDW+vczjsL0FUmicWGQ9fzgqir3CZm/I4h0wWuiXX8dA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706085913; x=1706172313; bh=EZ8jZgIsKV7VNtvWnvVvY5QB5O4q CYBdwhN0u3d2+7Y=; b=OI32yg0zgnM+ruOhIvOPNhE1zGVbhwB4uXynlfQjx3cO CwzsTGP6J4Ihb22ivOG5ganDD+arl9aaNNO8aAl4NszyevaZ50Cba1U+EudcT+lh hz5t5LMZ1wIctfzNcdcT9BjN7XkHzXXEGeA4cMqVU1/wENt4UJmJTlmMSdJSpoul p4ATWyrd1HtOktEPdesqz+J9WpgV580GdQ6A9UFchGyLqfUZWms1lFNXN+7argKI 0ZLBBYigK9sJ2Hkx5CzTW+xzkvUzUKX7Al3uh8HWd2uScfhG6we3JgdBM8jzeT9m m1NOrnlP/6DS8kHwiKn4EhEs8PJ5yZ5KkuvTCtWyCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeltddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhr ihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvg hrnhepueektdevtdffveeljeetgfehheeigeekleduvdeffeeghefgledttdehjeelffet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhsse hpkhhsrdhimh X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Jan 2024 03:45:12 -0500 (EST) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 5ccedd32 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Jan 2024 08:42:05 +0000 (UTC) Date: Wed, 24 Jan 2024 09:45:09 +0100 From: Patrick Steinhardt To: git@vger.kernel.org Cc: Taylor Blau , Eric Sunshine , Toon Claes , Christian Couder , Justin Tobler Subject: [PATCH v3 2/6] t1301: mark test for `core.sharedRepository` as reffiles specific Message-ID: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: In t1301 we verify whether reflog files written by the "files" ref backend correctly honor permissions when "core.sharedRepository" is set. The test logic is thus specific to the reffiles backend and will not work with any other backends. Mark the test accordingly with the REFFILES prereq. Signed-off-by: Patrick Steinhardt --- t/t1301-shared-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t1301-shared-repo.sh b/t/t1301-shared-repo.sh index e5a0d65caa..8e2c01e760 100755 --- a/t/t1301-shared-repo.sh +++ b/t/t1301-shared-repo.sh @@ -137,7 +137,7 @@ test_expect_success POSIXPERM 'info/refs respects umask in unshared repo' ' test_cmp expect actual ' -test_expect_success POSIXPERM 'git reflog expire honors core.sharedRepository' ' +test_expect_success REFFILES,POSIXPERM 'git reflog expire honors core.sharedRepository' ' umask 077 && git config core.sharedRepository group && git reflog expire --all &&