minor test fixes for Raspberry Pi Linux 64-bit

This commit is contained in:
hexcoder- 2020-08-07 19:41:39 +02:00
parent 673ace2a4b
commit 32558bc807
2 changed files with 3 additions and 2 deletions

View File

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

View File

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