]> git.ipfire.org Git - thirdparty/git.git/commitdiff
remove REFFILES prerequisite for some tests in t1405 and t2017
authorJohn Cai <johncai86@gmail.com>
Fri, 19 Jan 2024 20:18:50 +0000 (20:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jan 2024 23:55:49 +0000 (15:55 -0800)
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>
t/t1405-main-ref-store.sh
t/t2017-checkout-orphan.sh

index e4627cf1b61f0b3128a79e28f15a9d5e5693e30c..62c1eadb190880a963adbb839789ed2c537952ec 100755 (executable)
@@ -112,7 +112,7 @@ test_expect_success 'delete_reflog(HEAD)' '
        test_must_fail git reflog exists HEAD
 '
 
-test_expect_success REFFILES 'create-reflog(HEAD)' '
+test_expect_success 'create-reflog(HEAD)' '
        $RUN create-reflog HEAD &&
        git reflog exists HEAD
 '
index 947d1587ac8be9a2ab333049a2196c4e211185e6..a5c7358eeabefb3dacc94ae94e2c61d200381ac5 100755 (executable)
@@ -86,7 +86,7 @@ test_expect_success '--orphan makes reflog by default' '
        git rev-parse --verify delta@{0}
 '
 
-test_expect_success REFFILES '--orphan does not make reflog when core.logAllRefUpdates = false' '
+test_expect_success '--orphan does not make reflog when core.logAllRefUpdates = false' '
        git checkout main &&
        git config core.logAllRefUpdates false &&
        git checkout --orphan epsilon &&