From a863720320fab7468abef10d4c70d16b103cba24 Mon Sep 17 00:00:00 2001 From: Aarnav Date: Mon, 29 Jul 2024 17:39:34 +0200 Subject: [PATCH] libafl-fuzz: Increase cmplog CI timeout (#2458) * libafl-fuzz: increase cmplog CI test timeout * libafl-fuzz: fix cmplog CI --- fuzzers/others/libafl-fuzz/Makefile.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzers/others/libafl-fuzz/Makefile.toml b/fuzzers/others/libafl-fuzz/Makefile.toml index 76cfc63cd4..c5a9404e9a 100644 --- a/fuzzers/others/libafl-fuzz/Makefile.toml +++ b/fuzzers/others/libafl-fuzz/Makefile.toml @@ -66,8 +66,8 @@ test -d "./test/output/fuzzer_main/crashes" || { } # cmplog TODO: AFL_BENCH_UNTIL_CRASH=1 instead of timeout 15s AFL_LLVM_CMPLOG=1 AFL_PATH=${AFL_DIR_NAME} ${AFL_CC_PATH} ./test/test-cmplog.c -o ./test/out-cmplog -AFL_CORES=1 timeout 10 ${FUZZER} -Z -l 3 -m 0 -V30 -i ./test/seeds_cmplog -o ./test/cmplog-output -c 0 ./test/out-cmplog || true -test -n "$( ls ./test/cmplog-output/fuzzer_main/crashes/id:0* 2>/dev/null )" || { +AFL_CORES=1 timeout 5 ${FUZZER} -Z -l 3 -m 0 -V30 -i ./test/seeds_cmplog -o ./test/cmplog-output -c 0 ./test/out-cmplog || true +test -n "$( find "./test/cmplog-output/fuzzer_main/crashes/" -maxdepth 1 -type f) 2>/dev/null )" || { echo "No crashes found" exit 1 }