t1301: mark test for `core.sharedRepository` as reffiles specific
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 <ps@pks.im> Reviewed-by: Christian Couder <christian.couder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Patrick Steinhardt committed
Jan 29, 2024 at 12:07 UTC
1f83e752c52952572697b857018db67b537e7346
1 file changed
+1
-1
t/t1301-shared-repo.sh
+1
-1
@@ -137,7 +137,7 @@ test_expect_success POSIXPERM 'info/refs respects umask in unshared repo' '
137
test_cmp expect actual
138
'
139
140
-test_expect_success POSIXPERM 'git reflog expire honors core.sharedRepository' '
140
+test_expect_success REFFILES,POSIXPERM 'git reflog expire honors core.sharedRepository' '
141
umask 077 &&
142
git config core.sharedRepository group &&
143
git reflog expire --all &&