]> git.ipfire.org Git - thirdparty/git.git/commit
t2003: modernize path existence checks using test helpers
authorBurak Kaan Karaçay <bkkaracay@gmail.com>
Mon, 9 Feb 2026 11:24:44 +0000 (14:24 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Feb 2026 17:46:49 +0000 (09:46 -0800)
commit168d575719d944759964e004d17a3282b0f883d5
tree6fe4854e941872606e822b1a0f4ee3a2be8f56ad
parent67ad42147a7acc2af6074753ebd03d904476118f
t2003: modernize path existence checks using test helpers

The old style 'test -f' and 'test -d' checks are silent on failure,
which makes debugging difficult.

Replace them with the 'test_path_is_*' helpers which provide verbose
error messages when a test fails.

Signed-off-by: Burak Kaan Karaçay <bkkaracay@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2003-checkout-cache-mkdir.sh