Skip to content

Commit

Permalink
Exit with failure code if any AFL crashes are found
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Jan 3, 2019
1 parent d799e5e commit 9f57ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ script:
cargo afl build
timeout 10m cargo afl fuzz -i ../examples -o out target/debug/secsp-fuzzer > /dev/null || true
cat out/fuzzer_stats
grep "unique_crashes *: 0" out/fuzzer_stats
grep "unique_crashes *: 0" out/fuzzer_stats || exit 1
popd
else
echo "Building pull request, not running AFL."
Expand Down

0 comments on commit 9f57ad9

Please sign in to comment.