]> Kevux Git Server - rit/commit
t5403: use test_path_is_file instead of test -f
authorDeveshi Dwivedi <deveshigurgaon@gmail.com>
Mon, 29 Dec 2025 18:57:37 +0000 (18:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Dec 2025 00:23:00 +0000 (09:23 +0900)
commit861dbb1586aaac6f02c8c87dd55e5c0b9862296a
treee569949ebc1645c2c838a690fefe81fd4b2c52b3
parent54a3711a9dd968a04249beef157393d64b579d64
t5403: use test_path_is_file instead of test -f

Replace 'test -f' with the test_path_is_file in
t5403-post-checkout-hook.sh. This helper provides better error
messages when tests fail, making it easier to debug issues.

Signed-off-by: Deveshi Dwivedi <deveshigurgaon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5403-post-checkout-hook.sh