Reenable libfuzzer_stb_image_sugar test (#2659)

This commit is contained in:
Dongjia "toka" Zhang 2024-11-04 22:46:12 +01:00 committed by GitHub
parent e0c5304e32
commit 87e4a845e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]