Replace 'test -f' with the test_path_is_file in
t5403-post-checkout-hook.sh. This helper provides better error
messages when tests fail, making it easier to debug issues.
Signed-off-by: Deveshi Dwivedi <redacted>
Signed-off-by: Junio C Hamano <redacted>
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