From acb05fc42fe72e74321a5ab108521049c437450a Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:31:50 -0700 Subject: [PATCH] test(fuzz): Fix another off-by-one error involving 2-byte exhaustive entries --- build-fuzz-corpus-multiple-sizes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-fuzz-corpus-multiple-sizes.sh b/build-fuzz-corpus-multiple-sizes.sh index bed95a23..a6d3fdf9 100755 --- a/build-fuzz-corpus-multiple-sizes.sh +++ b/build-fuzz-corpus-multiple-sizes.sh @@ -3,7 +3,7 @@ set -euxo pipefail mkdir "fuzz/corpus/fuzz_$1_recombination_sources" || true # Ensure the 0-byte, 1-byte and 2-byte strings won't gain duplicates during recombination -find "fuzz/corpus/fuzz_$1_recombination_sources" -type f -size -2c -delete +find "fuzz/corpus/fuzz_$1_recombination_sources" -type f -size -3c -delete for size in "${@:2}"; do echo "$(date): STARTING ON SIZE $size"