ci(fuzz): Exit from recursive-fuzz-cmin.sh when it's done

This commit is contained in:
Chris Hennick 2024-06-04 10:04:43 -07:00
parent b5eb25d52f
commit c9619c2b71
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -12,6 +12,7 @@ while true; do
# Last iteration made no difference, so we're done # Last iteration made no difference, so we're done
rm -r "fuzz/corpus/fuzz_$1" rm -r "fuzz/corpus/fuzz_$1"
mv "fuzz/corpus/fuzz_$1_iter_${j}" "fuzz/corpus/fuzz_$1" mv "fuzz/corpus/fuzz_$1_iter_${j}" "fuzz/corpus/fuzz_$1"
exit 0
fi fi
i=$j i=$j
done done