summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorMarcelo Machado Lage <marcelomlage@usp.br>2026-07-11 13:04:47 -0300
committerJunio C Hamano <gitster@pobox.com>2026-07-11 14:14:35 -0700
commit156991928c3def5df519d42efc46735b0a090079 (patch)
treea433983b21c9e935f7b52a240f83d33229dae616 /t/t4013/diff.diff_initial..side
parentdbe8efd6632d250b1d2638013b70f08bbc587ad6 (diff)
t9811: replace 'test -f' and '! test -f' with 'test_path_*'
Replace the basic shell commands 'test -f', with more modern test helpers 'test_path_is_file' and 'test_path_is_missing'. These modern helpers emit useful information when the corresponding tests fail, unlike 'test -f' and '! test -f'. The occurrences of '! test -f filename' were replaced by 'file_path_is_missing filename', a stronger guarantee equivalent to '! test -e filename'. Co-authored-by: Vinicius Lira de Freitas <vinilira@usp.br> Signed-off-by: Vinicius Lira de Freitas <vinilira@usp.br> Signed-off-by: Marcelo Machado Lage <marcelomlage@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions