Skip to content

Commit

Permalink
Reenable libfuzzer_stb_image_sugar test (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka authored Nov 4, 2024
1 parent e0c5304 commit 87e4a84
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ script_runner = "@shell"
script = '''
rm -rf libafl_unix_shmem_server || true
timeout 31s ./${FUZZER_NAME} 2>/dev/null | tee fuzz_stdout.log || true
echo "The test is skipped. See https://github.com/AFLplusplus/LibAFL/issues/1176"
if [ -z "$(grep "corpus: 30" fuzz_stdout.log)" ]; then
echo "Fuzzer does not generate any testcases or any crashes"
exit 1
else
echo "Fuzzer is working"
fi
'''
dependencies = ["fuzzer"]

Expand Down

0 comments on commit 87e4a84

Please sign in to comment.