From b3410cf8c038cafbe886536912c5ccd5f543b875 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sun, 19 Apr 2026 00:19:29 +0100 Subject: [PATCH] Adjust the lower boundary to make failure less likely on a heavily loaded system. --- tests/Modifiers_-_--size.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Modifiers_-_--size.test b/tests/Modifiers_-_--size.test index c82c67d..2903ab2 100755 --- a/tests/Modifiers_-_--size.test +++ b/tests/Modifiers_-_--size.test @@ -17,11 +17,11 @@ dd if=/dev/zero bs=100 count=1 2>/dev/null \ lineCount=$(wc -l < "${workFile1}" | tr -dc '0-9') finalLine=$(sed -n '$p' < "${workFile1}") -# The number of output lines should be >8 and <13, and the final percentage +# The number of output lines should be >6 and <13, and the final percentage # should be 50. # -if ! test "${lineCount}" -gt 8; then - echo "part 1: fewer than 9 output lines (${lineCount})" +if ! test "${lineCount}" -gt 6; then + echo "part 1: fewer than 7 output lines (${lineCount})" exit 1 fi if ! test "${lineCount}" -lt 13; then