]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t1410: mark test as REFFILES
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 2 Aug 2021 16:53:33 +0000 (16:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Aug 2021 20:17:21 +0000 (13:17 -0700)
This test takes a lock on the target of a symref, and then verifies that it is
possible to expire the symref's reflog. In reftable, one can only take a global
lock (which would prevent the symref reflog from being expired altogether.)

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1410-reflog.sh

index 27b9080251a91b2f7031f3ccb6f9bafcbb9c5d22..d42f067ff8ca0feefcb7cc28a6fc549bd31827bd 100755 (executable)
@@ -374,7 +374,9 @@ test_expect_failure 'reflog with non-commit entries displays all entries' '
        test_line_count = 3 actual
 '
 
-test_expect_success 'reflog expire operates on symref not referrent' '
+# This test takes a lock on an individual ref; this is not supported in
+# reftable.
+test_expect_success REFFILES 'reflog expire operates on symref not referrent' '
        git branch --create-reflog the_symref &&
        git branch --create-reflog referrent &&
        git update-ref referrent HEAD &&