From f2f417325f25de83bb149c178d36e00631e3d4bb Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sun, 15 Dec 2024 18:06:02 +0100 Subject: [PATCH] fix gcc plugin test --- test/test-gcc-plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-gcc-plugin.sh b/test/test-gcc-plugin.sh index 04da5d9c..6f32c8e0 100755 --- a/test/test-gcc-plugin.sh +++ b/test/test-gcc-plugin.sh @@ -81,7 +81,7 @@ test -e ../afl-gcc-fast -a -e ../afl-compiler-rt.o && { # now for the special gcc_plugin things echo foobar.c > instrumentlist.txt - AFL_COMPILER_INSTRUMENT_FILE=instrumentlist.txt ../afl-gcc-fast -o test-compcov test-compcov.c > /dev/null 2>&1 + AFL_GCC_INSTRUMENT_FILE=instrumentlist.txt ../afl-gcc-fast -o test-compcov test-compcov.c > /dev/null 2>&1 test -x test-compcov && test_compcov_binary_functionality ./test-compcov && { echo 1 | AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o - -r -- ./test-compcov 2>&1 | grep -q "Captured 0 tuples" && { $ECHO "$GREEN[+] gcc_plugin instrumentlist feature works correctly"