]> Kevux Git Server - rit/commit
t/pack-refs-tests: use test_path_is_missing
authorRitesh Singh Jadoun <riteshjd75@gmail.com>
Sun, 15 Mar 2026 08:10:32 +0000 (13:40 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Mar 2026 21:21:35 +0000 (14:21 -0700)
commit2f0503971716ac21f37a0822a39740324b89c054
treec9c1e1bcafa30f5b24f7c456b0f797181d0fbf2f
parent67ad42147a7acc2af6074753ebd03d904476118f
t/pack-refs-tests: use test_path_is_missing

The pack-refs tests previously used raw 'test -f' and 'test -e' checks
with negation. Update them to use Git's standard helper function
test_path_is_missing for consistency and clearer failure reporting.

As suggested in review, replaced the negated 'test_path_exists' with
test_path_is_missing to better reflect the expected absence of paths.

Signed-off-by: Ritesh Singh Jadoun <riteshjd75@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/pack-refs-tests.sh