about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-07-06 14:28:37 +0200
committervanhauser-thc <vh@thc.org>2023-07-06 14:28:37 +0200
commit6e5ca0c78c4b982c6d238f66276a9fc4d43b9663 (patch)
tree91b59a1b66b52078240942a80f93a5ab40c17478
parentf37c4c86622c5e0ea10e0a0249e203c412c2db2e (diff)
downloadafl++-6e5ca0c78c4b982c6d238f66276a9fc4d43b9663.tar.gz
higher tuples for afl-clang and afl-gcc in tests
-rwxr-xr-xtest/test-basic.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh
index 5bb2ca28..61ad4b7c 100755
--- a/test/test-basic.sh
+++ b/test/test-basic.sh
@@ -28,7 +28,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
     rm -f test-instr.plain.0 test-instr.plain.1
     SKIP=
     TUPLES=`echo 1|AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain 2>&1 | grep Captur | awk '{print$3}'`
-    test "$TUPLES" -gt 1 -a "$TUPLES" -lt 12 && {
+    test "$TUPLES" -gt 1 -a "$TUPLES" -lt 22 && {
       $ECHO "$GREEN[+] ${AFL_GCC} run reported $TUPLES instrumented locations which is fine"
     } || {
       $ECHO "$RED[!] ${AFL_GCC} instrumentation produces weird numbers: $TUPLES"
@@ -152,7 +152,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
     }
     rm -f test-instr.plain.0 test-instr.plain.1
     TUPLES=`echo 1|AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain 2>&1 | grep Captur | awk '{print$3}'`
-    test "$TUPLES" -gt 1 -a "$TUPLES" -lt 12 && {
+    test "$TUPLES" -gt 1 -a "$TUPLES" -lt 22 && {
       $ECHO "$GREEN[+] ${AFL_CLANG} run reported $TUPLES instrumented locations which is fine"
     } || {
       $ECHO "$RED[!] ${AFL_CLANG} instrumentation produces weird numbers: $TUPLES"