]> git.ipfire.org Git - thirdparty/git.git/commit
t7006: Use test_path_is_* functions in test script
authorJoey Salazar <jgsal@protonmail.com>
Tue, 20 Oct 2020 19:53:52 +0000 (19:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2020 18:43:32 +0000 (11:43 -0700)
commit4e1bee9a99fa2ebab176c9730fa5218363f2548b
tree68e6cd89f3b6a054487124ad40b3c5fcbf3faf43
parent69986e19ffcfb9af674ae5180689ab7bbf92ed28
t7006: Use test_path_is_* functions in test script

Modernize the test by replacing `test -e` instances with
`test_path_is_file` helper functions, and `! test -e` with
`test_path_is_missing`, for better readability and diagnostic messages.

Signed-off-by: Joey Salazar <jgsal@protonmail.com>
Reviewed-by: Phillip Wood <phillip.wood123@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7006-pager.sh