aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-basic.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh
index c39faa74..393e47ea 100755
--- a/test/test-basic.sh
+++ b/test/test-basic.sh
@@ -48,6 +48,8 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
$ECHO "$GREEN[+] ${AFL_GCC} hardened mode succeeded and is working"
} || {
$ECHO "$RED[!] ${AFL_GCC} hardened mode is not hardened"
+ env | egrep 'AFL|PATH|LLVM'
+ AFL_DEBUG=1 AFL_HARDEN=1 ../${AFL_GCC} -o test-compcov.harden test-compcov.c
CODE=1
}
rm -f test-compcov.harden