test(fuzz): Bug fix

This commit is contained in:
Chris Hennick 2024-06-23 06:49:05 -07:00
parent b0096455c0
commit ab659a3652
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -5,7 +5,7 @@ ncpus=$(( ncpus / ( 1 + $(cat /sys/devices/system/cpu/smt/active))))
NORMAL_RESTARTS=10
rm -rf "fuzz/corpus/fuzz_$1_pre_fresh_blood" || true
mkdir "fuzz/corpus/fuzz_$1_pre_fresh_blood"
mv "fuzz/corpus/fuzz_$1"/* "fuzz/corpus/fuzz_$1_pre_fresh_blood"
mv "fuzz/corpus/fuzz_$1"/* "fuzz/corpus/fuzz_$1_pre_fresh_blood" || true
for i in $(seq 1 $NORMAL_RESTARTS); do
mv "fuzz/corpus/fuzz_$1_restart_${i}"/* "fuzz/corpus/fuzz_$1_pre_fresh_blood" || true
echo "$(date): RESTART ${i}"