remove REFFILES prerequisite for some tests in t1405 and t2017
These tests are compatible with the reftable backend and thus do not need the REFFILES prerequisite. Even though 53af25e4 (t1405: mark test that checks existence as REFFILES, 2022-01-31) and 53af25e4 (t1405: mark test that checks existence as REFFILES, 2022-01-31) marked these tests to require REFFILES, the reftable backend in its current state does indeed work with these tests. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
John Cai committed
Jan 19, 2024 at 20:18 UTC
4e8df1a3c08d61e17dc817d46dc997e72cf1ef50
2 files changed
+2
-2
t/t1405-main-ref-store.sh
+1
-1
@@ -112,7 +112,7 @@ test_expect_success 'delete_reflog(HEAD)' '
112
test_must_fail git reflog exists HEAD
113
'
114
115
-test_expect_success REFFILES 'create-reflog(HEAD)' '
115
+test_expect_success 'create-reflog(HEAD)' '
116
$RUN create-reflog HEAD &&
117
git reflog exists HEAD
118
'
t/t2017-checkout-orphan.sh
+1
-1
@@ -86,7 +86,7 @@ test_expect_success '--orphan makes reflog by default' '
86
git rev-parse --verify delta@{0}
87
'
88
89
-test_expect_success REFFILES '--orphan does not make reflog when core.logAllRefUpdates = false' '
89
+test_expect_success '--orphan does not make reflog when core.logAllRefUpdates = false' '
90
git checkout main &&
91
git config core.logAllRefUpdates false &&
92
git checkout --orphan epsilon &&