test(fuzz): Bug fix in find command

This commit is contained in:
Chris Hennick 2024-06-22 20:04:41 -07:00
parent 7cfde3539c
commit 085b9ca691
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -16,7 +16,7 @@ for size in "${@:2}"; do
rm -rf "fuzz/corpus/fuzz_$1_pre_fresh_blood" || true
mv "fuzz/corpus/fuzz_$1/*" "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}c" -exec mv '{}' "fuzz/corpus/fuzz_$1" ';'
./fuzz-until-converged.sh "$1" "$size"
done
echo "$(date): FINISHED"