]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7900: stop checking for loose refs
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 31 May 2021 16:56:34 +0000 (16:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2021 01:01:55 +0000 (10:01 +0900)
Given that git-maintenance simply calls out git-pack-refs, it seems superfluous
to test the functionality of pack-refs itself, as that is covered by
t3210-pack-refs.sh.

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>
t/t7900-maintenance.sh

index 2412d8c5c006992f3b895debfa0b6cfcf55d3c9b..70563cc269afbae21f10416769959d5fc8307750 100755 (executable)
@@ -350,8 +350,6 @@ test_expect_success 'pack-refs task' '
        done &&
        GIT_TRACE2_EVENT="$(pwd)/pack-refs.txt" \
                git maintenance run --task=pack-refs &&
-       ls .git/refs/heads/ >after &&
-       test_must_be_empty after &&
        test_subcommand git pack-refs --all --prune <pack-refs.txt
 '