summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-01 10:28:18 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-01 10:28:18 -0700
commit11f494d5b22a6c2fcd95bf941c03e2ec12b26bfb (patch)
treeb285125f5799a328c217e57a3110ba129f2e711b
parent8744cef3242e3bcace5f86a24365154a4405544a (diff)
parent1d6fd6d36edebd23407a49513f6482ceb3e0f648 (diff)
downloadgit-11f494d5b22a6c2fcd95bf941c03e2ec12b26bfb.tar.xz
Merge branch 'bk/t5315-test-path-is-helpers'
Test clean-up. * bk/t5315-test-path-is-helpers: t5315: use test_path_is_file for loose-object check
-rwxr-xr-xt/t5315-pack-objects-compression.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5315-pack-objects-compression.sh b/t/t5315-pack-objects-compression.sh
index 8bacd96275..d0feab17b4 100755
--- a/t/t5315-pack-objects-compression.sh
+++ b/t/t5315-pack-objects-compression.sh
@@ -10,7 +10,7 @@ test_expect_success setup '
# make sure it resulted in a loose object
ob=$(sed -e "s/\(..\).*/\1/" object-name) &&
ject=$(sed -e "s/..\(.*\)/\1/" object-name) &&
- test -f .git/objects/$ob/$ject
+ test_path_is_file .git/objects/$ob/$ject
'
while read expect config