]> git.99rst.org Git - git.git/commit
t9801: replace test -f with test_path_is_file
authorShubham Verma <redacted>
Tue, 2 Mar 2021 18:50:56 +0000 (00:20 +0530)
committerJunio C Hamano <redacted>
Thu, 4 Mar 2021 01:11:31 +0000 (17:11 -0800)
commit12604a8d0c0a7d706c7be7be607a584260042ca9
tree63389d4cec62011172937951f1a8837568b5218c
parent59ec22464f6c2b170b05f287e00740ea2288fe5c
t9801: replace test -f with test_path_is_file

Although `test -f` has the same functionality as test_path_is_file(), in
the case where test_path_is_file() fails, we get much better debugging
information.

Replace `test -f` with test_path_is_file so that future developers
will have a better experience debugging these test cases.

Signed-off-by: Shubham Verma <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t9801-git-p4-branch.sh
git clone https://git.99rst.org/PROJECT