aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-11-18 03:02:13 +0100
committerDominik Maier <domenukk@gmail.com>2020-11-18 03:02:13 +0100
commitf80f62f14bb5222344925a7ec51c81aa2f95d86e (patch)
tree4afc4750e1bdfc8f2f661debf92ebb32812d0c9a /test
parent57f8aec3814e1959d36210815a0369d7bc149ac7 (diff)
downloadafl++-f80f62f14bb5222344925a7ec51c81aa2f95d86e.tar.gz
renamed env var to AFL_DEBUG_CHILD
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-unicorn-mode.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-unicorn-mode.sh b/test/test-unicorn-mode.sh
index 7ac4cdd2..b4c6eb3e 100755
--- a/test/test-unicorn-mode.sh
+++ b/test/test-unicorn-mode.sh
@@ -7,7 +7,7 @@ test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/samples/shel
test -e ../unicorn_mode/samples/simple/simple_target.bin -a -e ../unicorn_mode/samples/compcov_x64/compcov_target.bin && {
{
# We want to see python errors etc. in logs, in case something doesn't work
- export AFL_DEBUG_CHILD_OUTPUT=1
+ export AFL_DEBUG_CHILD=1
# some python version should be available now
PYTHONS="`command -v python3` `command -v python` `command -v python2`"
@@ -34,7 +34,7 @@ test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/samples/shel
cd ../unicorn_mode/samples/persistent
make >>errors 2>&1
$ECHO "$GREY[*] running afl-fuzz for unicorn_mode (persistent), this will take approx 25 seconds"
- AFL_DEBUG_CHILD_OUTPUT=1 ../../../afl-fuzz -m none -V25 -U -i sample_inputs -o out -d -- ./harness @@ >>errors 2>&1
+ AFL_DEBUG_CHILD=1 ../../../afl-fuzz -m none -V25 -U -i sample_inputs -o out -d -- ./harness @@ >>errors 2>&1
test -n "$( ls out/default/queue/id:000002* 2>/dev/null )" && {
$ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode (persistent)"
} || {
@@ -96,7 +96,7 @@ test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/samples/shel
}
fi
- unset AFL_DEBUG_CHILD_OUTPUT
+ unset AFL_DEBUG_CHILD
}
} || {