aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-08 16:40:12 +0900
committerJunio C Hamano <gitster@pobox.com>2026-01-08 16:40:12 +0900
commit512351f2a84388d223ee6bb763ce5e6c5965f1b8 (patch)
tree2366b9baec43c6dc6f22e70c1cea274ef7ba0691
parentc0754dc42305cb37823955722a5167755634c8c1 (diff)
parent861dbb1586aaac6f02c8c87dd55e5c0b9862296a (diff)
downloadgit-512351f2a84388d223ee6bb763ce5e6c5965f1b8.tar.xz
Merge branch 'dd/t5403-modernise'
Test micro-clean-up. * dd/t5403-modernise: t5403: use test_path_is_file instead of test -f
-rwxr-xr-xt/t5403-post-checkout-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5403-post-checkout-hook.sh b/t/t5403-post-checkout-hook.sh
index 978f240cda..1462e3365b 100755
--- a/t/t5403-post-checkout-hook.sh
+++ b/t/t5403-post-checkout-hook.sh
@@ -109,7 +109,7 @@ test_expect_success 'post-checkout hook is triggered by clone' '
echo "$@" >"$GIT_DIR/post-checkout.args"
EOF
git clone --template=templates . clone3 &&
- test -f clone3/.git/post-checkout.args
+ test_path_is_file clone3/.git/post-checkout.args
'
test_done