From 8d8e441bb55ddb9575e3bce62e9aad956eeb9265 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 15 Nov 2025 12:55:06 -0800 Subject: [PATCH] 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. --- tests/sparse05.at | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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],