about summary refs log tree commit diff
diff options
context:
space:
mode:
authorh1994st <h1994st@gmail.com>2020-03-30 05:28:30 -0400
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:07 +0200
commitea954539756722e84f65e0f3a6638bb3dc50d8db (patch)
treeae58e6521fba0d8e487881a55e95ba33e40c63e7
parent61ea39861271fd54a193a14d3adbb72c072df75f (diff)
downloadafl++-ea954539756722e84f65e0f3a6638bb3dc50d8db.tar.gz
test.sh: redirect command line output
-rwxr-xr-xtest/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index c9ce3489..25aaad58 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -914,7 +914,7 @@ test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUS
     $ECHO "$GREY[*] running afl-fuzz for the C mutator, this will take approx 10 seconds"
     {
       export AFL_CUSTOM_MUTATOR_LIBRARY=${CUSTOM_MUTATOR_PATH}/libexamplemutator.so
-      ../afl-fuzz -V10 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator
+      ../afl-fuzz -V10 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator >>errors 2>&1
       unset AFL_CUSTOM_MUTATOR_LIBRARY
     } >>errors 2>&1
 
@@ -937,7 +937,7 @@ test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUS
     {
       export PYTHONPATH=${CUSTOM_MUTATOR_PATH}
       export AFL_PYTHON_MODULE=example
-      ../afl-fuzz -V10 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator
+      ../afl-fuzz -V10 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator >>errors 2>&1
       unset PYTHONPATH
       unset AFL_PYTHON_MODULE
     } >>errors 2>&1