]> git.ipfire.org Git - thirdparty/git.git/commit
t1300: use test helpers instead of `test` command
authorPushkar Singh <pushkarkumarsingh1970@gmail.com>
Sun, 4 Jan 2026 19:47:59 +0000 (19:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Jan 2026 01:58:58 +0000 (10:58 +0900)
commit404b6772297c77f48de298adf11ab94f080eba72
tree4a5e7e90788d1992488279964d4ee7e469bb173f
parent68cb7f9e92a5d8e9824f5b52ac3d0a9d8f653dbe
t1300: use test helpers instead of `test` command

Replace `test -f` and `test -h` checks with `test_path_is_file` and
`test_path_is_symlink`. Using the test framework helpers provides
clearer diagnostics and keeps tests consistent across the suite.

Signed-off-by: Pushkar Singh <pushkarkumarsingh1970@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh
t/t2021-checkout-overwrite.sh