diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-01 10:28:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-01 10:28:18 -0700 |
| commit | 11f494d5b22a6c2fcd95bf941c03e2ec12b26bfb (patch) | |
| tree | b285125f5799a328c217e57a3110ba129f2e711b | |
| parent | 8744cef3242e3bcace5f86a24365154a4405544a (diff) | |
| parent | 1d6fd6d36edebd23407a49513f6482ceb3e0f648 (diff) | |
| download | git-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-x | t/t5315-pack-objects-compression.sh | 2 |
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 |
