about summary refs log tree commit diff
path: root/test/test.sh
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-03-30 18:20:20 +0200
committerDominik Maier <domenukk@gmail.com>2020-03-30 18:20:20 +0200
commit3fcb3e2ed3918c652f2db1ad088c7848b170bf89 (patch)
tree9454d93e5ea4a672ee609d12e286e3a6ad1cdf0c /test/test.sh
parent1f257c5875d8b99d774ec9f473c06f73862d0688 (diff)
downloadafl++-3fcb3e2ed3918c652f2db1ad088c7848b170bf89.tar.gz
fixed testcase
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test.sh b/test/test.sh
index 25aaad58..3e1b6c43 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -913,9 +913,7 @@ test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUS
     # Run afl-fuzz w/ the C mutator
     $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 >>errors 2>&1
-      unset AFL_CUSTOM_MUTATOR_LIBRARY
+      AFL_CUSTOM_MUTATOR_LIBRARY=${CUSTOM_MUTATOR_PATH}/libexamplemutator.so ../afl-fuzz -V10 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator >>errors 2>&1
     } >>errors 2>&1
 
     # Check results