From 4b7f32a3ff4007aaeeb374a53eb7c73e1bd98c59 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 14 Jul 2026 12:52:53 +0100 Subject: [PATCH] tests/test-sparse-random-blocksize.sh: Reduce maximum block size On i686, this test failed again after randomly choosing: + blocksize_r=26 + blocksize=67108864 Reduce the maximum by another power of two. Updates: commit 5edcc592dc9d4466596618da2d7507b575492a02 --- tests/test-sparse-random-blocksize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-sparse-random-blocksize.sh b/tests/test-sparse-random-blocksize.sh index 29eec3f8..5d268ffb 100755 --- a/tests/test-sparse-random-blocksize.sh +++ b/tests/test-sparse-random-blocksize.sh @@ -55,7 +55,7 @@ rm -f $out # but if this picks a 32M block size, then this could consume up to # 4 * 16 * 32 == 2048 MB of RAM. This is a problem on smaller systems # (and especially 32 bit), so choose a lesser maximum. -blocksize_r="$(( 10 + (RANDOM % 17) ))" ;# 10..26 +blocksize_r="$(( 10 + (RANDOM % 16) ))" ;# 10..25 blocksize="$(( 1 << blocksize_r ))" export out -- 2.47.3