]> git.ipfire.org Git - thirdparty/git.git/commit
t7603: replace test -f by test_path_is_file
authorLucas Oshiro <lucasseikioshiro@gmail.com>
Sat, 8 Feb 2025 16:57:31 +0000 (13:57 -0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2025 16:03:30 +0000 (08:03 -0800)
commitf1cc562b77053ced18eebaae2febe5ff6d5e2690
treebcd59a7fd0a928876d1c134ffd864d08f2ed290f
parentf93ff170b93a1782659637824b25923245ac9dd1
t7603: replace test -f by test_path_is_file

`test_path_is_file` provides a better output when asserting whether a
file exists. Replace the occurrences of `test -f` in t7603 with it,
facilitating the trace of possible test failures.

Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7603-merge-reduce-heads.sh