From: Paul Eggert Date: Sat, 15 Nov 2025 20:55:06 +0000 (-0800) Subject: Skip sparse test on non-sparse file systems X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d8e441bb55ddb9575e3bce62e9aad956eeb9265;p=thirdparty%2Ftar.git Skip sparse test on non-sparse file systems * tests/sparse05.at (listing sparse files bigger than 2^33 B): If there were problems generating BIGFILE remove it, as it has likely exhausted the file system. Problem found on Darwin 21.6 APFS. --- diff --git a/tests/sparse05.at b/tests/sparse05.at index 8242ba7c..f03dc04a 100644 --- a/tests/sparse05.at +++ b/tests/sparse05.at @@ -34,7 +34,10 @@ AT_DATA([mapfile], [0 =2560 m4_for([i], 1, 999, 1, [10M =2560 ])]) -genfile --sparse --file BIGFILE --block-size 4K - < mapfile || AT_SKIP_TEST +genfile --sparse --file BIGFILE --block-size 4K - < mapfile || { + rm -f BIGFILE + AT_SKIP_TEST +} tar -f - -c --sparse --posix BIGFILE | tar tvf - | awk '{ print $3, $(NF) }' ], [0],