t1414: mark corruption test with REFFILES
The test checks what happens if reflog and ref database disagree on the state of the latest commit. This seems to require accessing reflog storage directly. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Han-Wen Nienhuys committed
May 31, 2021 at 16:56 UTC
41e2e177c7b8d3e8861c30342c5e57edd5425997
1 file changed
+3
-1
t/t1414-reflog-walk.sh
+3
-1
@@ -119,7 +119,9 @@ test_expect_success 'min/max age uses entry date to limit' '
119
test_cmp expect actual
120
'
121
122
-test_expect_success 'walk prefers reflog to ref tip' '
122
+# Create a situation where the reflog and ref database disagree about the latest
123
+# state of HEAD.
124
+test_expect_success REFFILES 'walk prefers reflog to ref tip' '
125
head=$(git rev-parse HEAD) &&
126
one=$(git rev-parse one) &&
127
ident="$GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE" &&