about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-05-12 23:19:51 +0200
committerhexcoder- <heiko@hexco.de>2020-05-12 23:19:51 +0200
commit5273c61cd84fb5db4bd4c97509f60511c7a9bb6d (patch)
tree7cf63e095d167ab6025767785f7ce05e8566bf30 /test
parent0c1c947aaf758368558dadd027b8a6503ba2c20f (diff)
downloadafl++-5273c61cd84fb5db4bd4c97509f60511c7a9bb6d.tar.gz
Darwin tests: grep --binary-files=text for laf-intel and skipping of unittests
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 8e6c277f..6c05571b 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -355,7 +355,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 " [ 12][0-9][0-9] location| [3-9][0-9] location" test.out && {
+    grep --binary-files=text -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"