]> git.99rst.org Git - git.git/commit
t5315: use test_path_is_file for loose-object check
authorBilal El Khatabi <redacted>
Thu, 19 Mar 2026 18:06:52 +0000 (18:06 +0000)
committerJunio C Hamano <redacted>
Thu, 19 Mar 2026 18:58:18 +0000 (11:58 -0700)
commit1d6fd6d36edebd23407a49513f6482ceb3e0f648
treea696e6406fc0f04f52738b46b28967e3ae96b6ba
parent7ff1e8dc1e1680510c96e69965b3fa81372c5037
t5315: use test_path_is_file for loose-object check

Use test_path_is_file instead of test -f when checking that the
loose object was written to the expected path.

This uses Git's path-checking helper, which provides more specific
failure output than a raw test -f check.

Signed-off-by: Bilal El Khatabi <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5315-pack-objects-compression.sh
git clone https://git.99rst.org/PROJECT