Skip to content

Commit fe14431

Browse files
hanwengitster
authored andcommitted
t1410: mark test as REFFILES
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a50234b commit fe14431

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/t1410-reflog.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,9 @@ test_expect_failure 'reflog with non-commit entries displays all entries' '
374374
test_line_count = 3 actual
375375
'
376376

377-
test_expect_success 'reflog expire operates on symref not referrent' '
377+
# This test takes a lock on an individual ref; this is not supported in
378+
# reftable.
379+
test_expect_success REFFILES 'reflog expire operates on symref not referrent' '
378380
git branch --create-reflog the_symref &&
379381
git branch --create-reflog referrent &&
380382
git update-ref referrent HEAD &&

0 commit comments

Comments
 (0)