aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-04-15 13:50:14 -0700
committerJunio C Hamano <gitster@pobox.com>2025-04-15 13:50:14 -0700
commitf3f00d93a10ac3f000c56e73d646e34fe7b456d1 (patch)
tree06c571c53ebec518516ab702b558e6404dc4fdf2
parentMerge branch 'jk/zlib-inflate-fixes' (diff)
parentt1403: verify that path exists and is a file (diff)
downloadgit-f3f00d93a10ac3f000c56e73d646e34fe7b456d1.tar.gz
git-f3f00d93a10ac3f000c56e73d646e34fe7b456d1.zip
Merge branch 'md/t1403-path-is-file'
Test tweak. * md/t1403-path-is-file: t1403: verify that path exists and is a file
-rwxr-xr-xt/t1403-show-ref.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1403-show-ref.sh b/t/t1403-show-ref.sh
index 9d698b3cc3..9da3650e91 100755
--- a/t/t1403-show-ref.sh
+++ b/t/t1403-show-ref.sh
@@ -196,7 +196,7 @@ test_expect_success 'show-ref --verify with dangling ref' '
remove_object() {
file=$(sha1_file "$*") &&
- test -e "$file" &&
+ test_path_is_file "$file" &&
rm -f "$file"
} &&