t7900: stop checking for loose refs

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>
This commit is contained in:
Han-Wen Nienhuys 2021-05-31 16:56:34 +00:00 committed by Junio C Hamano
parent fe8fc09f34
commit e740873c47

View File

@ -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
'