make: nonzero exit when afl_quick detects crashes

ci job still goes green when fuzzing fails, otherwise
This commit is contained in:
Noah Hellman 2023-03-20 17:43:09 +01:00
parent 5e2d567a54
commit 7fcc802415

View file

@ -74,6 +74,7 @@ afl_quick:
cargo afl build --no-default-features --release --config profile.release.debug-assertions=true && \
AFL_NO_UI=1 AFL_BENCH_UNTIL_CRASH=1 \
cargo afl fuzz -i in -o out -V 60 target/release/${AFL_TARGET})
[ -z "$$(find tests/afl/out/default/crashes -type f -name 'id:*')" ]
afl_crash:
set +e; \