about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-08-05 10:28:00 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-08-05 10:28:00 +0200
commit9864d9c189ee7f744b4fb791a035980c710974d1 (patch)
tree12fc9014ef20678f6e7db06ff3e3286648142c3f /test
parentbd36aac60a6d85fe83d072bf00a9ec0b2f3f135d (diff)
parent4a859aff70cb4334c78bd6a13feb820bdad9d9d6 (diff)
downloadafl++-9864d9c189ee7f744b4fb791a035980c710974d1.tar.gz
Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-llvm.sh2
-rw-r--r--test/travis/bionic/Dockerfile1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test-llvm.sh b/test/test-llvm.sh
index 24fc6a34..02d23f9c 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -25,7 +25,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
       } || {
         $ECHO "$GREEN[+] llvm_mode instrumentation present and working correctly"
         TUPLES=`echo 0|../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain 2>&1 | grep Captur | awk '{print$3}'`
-        test "$TUPLES" -gt 3 -a "$TUPLES" -lt 7 && {
+        test "$TUPLES" -gt 3 -a "$TUPLES" -lt 8 && {
           $ECHO "$GREEN[+] llvm_mode run reported $TUPLES instrumented locations which is fine"
         } || {
           $ECHO "$RED[!] llvm_mode instrumentation produces weird numbers: $TUPLES"
diff --git a/test/travis/bionic/Dockerfile b/test/travis/bionic/Dockerfile
index d1b53e70..00ab96f9 100644
--- a/test/travis/bionic/Dockerfile
+++ b/test/travis/bionic/Dockerfile
@@ -31,6 +31,7 @@ RUN apt-get update && apt-get -y install \
 
 ENV AFL_NO_UI=1
 ENV AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1
+ENV LLVM_CONFIG=llvm-config-6.0
 
 RUN cd / && \
     git clone https://github.com/AFLplusplus/AFLplusplus && \