test(fuzz): Fix an off-by-one error affecting corpus entries of the exact maximum length
This commit is contained in:
parent
2f53dca454
commit
cdc5f71f66
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ for size in "${@:2}"; do
|
|||
rm -rf "fuzz/corpus/fuzz_$1_pre_fresh_blood" || true
|
||||
find "fuzz/corpus/fuzz_$1" -type f -exec mv '{}' "fuzz/corpus/fuzz_$1_recombination_sources" ';' || true
|
||||
./build-fuzz-corpus-multiple-restarts.sh "$1" "$size"
|
||||
find "fuzz/corpus/fuzz_$1_recombination_sources" -type f -size "-${size}c" -exec mv '{}' "fuzz/corpus/fuzz_$1" ';'
|
||||
find "fuzz/corpus/fuzz_$1_recombination_sources" -type f -size "-$((size + 1))c" -exec mv '{}' "fuzz/corpus/fuzz_$1" ';'
|
||||
./fuzz-until-converged.sh "$1" "$size"
|
||||
done
|
||||
echo "$(date): FINISHED"
|
Loading…
Add table
Reference in a new issue