From 87e4a845e0ff83c59326a6439ff7a16f98dfbe45 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Mon, 4 Nov 2024 22:46:12 +0100 Subject: [PATCH] Reenable libfuzzer_stb_image_sugar test (#2659) --- fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml b/fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml index 8c5e953e59..e4a2111eb2 100644 --- a/fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_stb_image_sugar/Makefile.toml @@ -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"]