about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-08-07 19:41:39 +0200
committerhexcoder- <heiko@hexco.de>2020-08-07 19:41:39 +0200
commit32558bc8072caa14ee670c6be40af4d183e8ffcc (patch)
tree0f48cf5162db5125bef9bb4151643f90ac98d339 /test
parent673ace2a4b631703c4de0ff5efd154fe7ecc1012 (diff)
downloadafl++-32558bc8072caa14ee670c6be40af4d183e8ffcc.tar.gz
minor test fixes for Raspberry Pi Linux 64-bit
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-basic.sh1
-rwxr-xr-xtest/test-llvm.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh
index 59269ffe..5ce5630b 100755
--- a/test/test-basic.sh
+++ b/test/test-basic.sh
@@ -120,6 +120,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
  }
 } || {
  $ECHO "$YELLOW[-] not an intel platform, cannot test afl-gcc"
+ INCOMPLETE=1
 }
 
 . ./test-post.sh
diff --git a/test/test-llvm.sh b/test/test-llvm.sh
index 96a7f92a..85cc16f6 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -193,9 +193,9 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
     {
       mkdir -p in
       echo 0000000000000000000000000 > in/in
-      ../afl-fuzz -m none -V10 -i in -o out -c./test-cmplog -- ./test-cmplog >>errors 2>&1
+      AFL_BENCH_UNTIL_CRASH=1 ../afl-fuzz -m none -V60 -i in -o out -c./test-cmplog -- ./test-cmplog >>errors 2>&1
     } >>errors 2>&1
-    test -n "$( ls out/crashes/id:000000* 2>/dev/null )" && {
+    test -n "$( ls out/crashes/id:000000* out/hangs/id:000000* 2>/dev/null )" & {
       $ECHO "$GREEN[+] afl-fuzz is working correctly with llvm_mode cmplog"
     } || {
       echo CUT------------------------------------------------------------------CUT