]> Kevux Git Server - rit/commit
t2004: use test_path_is_file instead of test -f
authorLambert Duclos-de Guise <lambertddg@gmail.com>
Sat, 21 Feb 2026 17:28:13 +0000 (17:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2026 05:09:16 +0000 (21:09 -0800)
commita4b61a71c4060748e4d6e8d970e52989c04f1f88
tree2e261960fb0bfd63ec6bdb0d5323215c9d4d1843
parent7c02d39fc2ed2702223c7674f73150d9a7e61ba4
t2004: use test_path_is_file instead of test -f

Replace 'test -f' with the helper function 'test_path_is_file'
to provide better error messages upon failure.

Signed-off-by: Lambert Duclos-de Guise <lambertddg@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2004-checkout-cache-temp.sh