diff options
author | van Hauser <vh@thc.org> | 2020-04-12 14:38:47 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-12 14:38:47 +0200 |
commit | 5a8db5954cac56cffa4f0066476db210dca4d330 (patch) | |
tree | 71533d362a781562b05aacdacac76b03ceb197b7 | |
parent | ee4e1936d0d1ca18147d1916e9365578627584e2 (diff) | |
download | afl++-5a8db5954cac56cffa4f0066476db210dca4d330.tar.gz |
update test.sh to new compcov features
-rwxr-xr-x | test/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh index bc89ff43..51304eb6 100755 --- a/test/test.sh +++ b/test/test.sh @@ -353,7 +353,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && { } AFL_DEBUG=1 AFL_LLVM_LAF_SPLIT_SWITCHES=1 AFL_LLVM_LAF_TRANSFORM_COMPARES=1 AFL_LLVM_LAF_SPLIT_COMPARES=1 ../afl-clang-fast -o test-compcov.compcov test-compcov.c > test.out 2>&1 test -e test-compcov.compcov && { - grep -Eq " [3-9][0-9] location" test.out && { + grep -Eq " [ 12][0-9][0-9] location| [3-9][0-9] location" test.out && { $ECHO "$GREEN[+] llvm_mode laf-intel/compcov feature works correctly" } || { $ECHO "$RED[!] llvm_mode laf-intel/compcov feature failed" |