aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-24 17:57:05 +0200
committervan Hauser <vh@thc.org>2020-10-24 17:57:05 +0200
commitaac0ab8c678599312e5d684cd963ec9efa9d758f (patch)
tree36509898356621848342dee9d67f11a52621448e /test
parente5f30c690822d69b4d99117024ae2570b1572481 (diff)
downloadAFLplusplus-aac0ab8c678599312e5d684cd963ec9efa9d758f.tar.gz
travis test
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-basic.sh2
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"