diff options
author | van Hauser <vh@thc.org> | 2020-10-24 17:57:05 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-24 17:57:05 +0200 |
commit | aac0ab8c678599312e5d684cd963ec9efa9d758f (patch) | |
tree | 36509898356621848342dee9d67f11a52621448e | |
parent | e5f30c690822d69b4d99117024ae2570b1572481 (diff) | |
download | afl++-aac0ab8c678599312e5d684cd963ec9efa9d758f.tar.gz |
travis test
-rwxr-xr-x | test/test-basic.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh index 0d16ebd1..2a137d52 100755 --- a/test/test-basic.sh +++ b/test/test-basic.sh @@ -104,6 +104,8 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc fi ../afl-tmin -m ${MEM_LIMIT} -i in/in2 -o in2/in2 -- ./test-instr.plain > /dev/null 2>&1 SIZE=`ls -l in2/in2 2>/dev/null | awk '{print$5}'` + ls -l in2 + echo SIZE=$SIZE test "$SIZE" = 1 && $ECHO "$GREEN[+] afl-tmin correctly minimized the testcase" test "$SIZE" = 1 || { $ECHO "$RED[!] afl-tmin did incorrectly minimize the testcase to $SIZE" |