From 4bcea7b31fcaa9265a1e3f05e5d67d30b32bb32c Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Wed, 5 Feb 2020 22:08:57 +0100 Subject: adapt to afl-cmin with forkserver_mode (and stdin) --- test/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test.sh') diff --git a/test/test.sh b/test/test.sh index 69b89661..a2f2ab53 100755 --- a/test/test.sh +++ b/test/test.sh @@ -150,7 +150,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" && { } echo 000000000000000000000000 > in/in2 mkdir -p in2 - ../afl-cmin -i in -o in2 -- ./test-instr.plain @@ >/dev/null + ../afl-cmin -i in -o in2 -- ./test-instr.plain >/dev/null CNT=`ls in2/ | wc -l` case "$CNT" in *1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;; @@ -256,7 +256,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && { test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" || { echo 000000000000000000000000 > in/in2 mkdir -p in2 - ../afl-cmin -i in -o in2 -- ./test-instr.plain @@ >/dev/null + ../afl-cmin -i in -o in2 -- ./test-instr.plain >/dev/null CNT=`ls in2/ | wc -l` case "$CNT" in *1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;; -- cgit 1.4.1