diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh index 90dc0dfe..64c76758 100755 --- a/test/test.sh +++ b/test/test.sh @@ -550,9 +550,11 @@ test -d ../unicorn_mode/unicorn && { test -e ../unicorn_mode/samples/simple/simple_target.bin -a -e ../unicorn_mode/samples/compcov_x64/compcov_target.bin && { { # travis workaround - PY=python + PY=`which python` + test "$PY" = "/opt/pyenv/shims/python" -a -x /usr/bin/python && PY=/usr/bin/python mkdir -p in echo 0 > in/in + $ECHO "$GREY[*] Using python binary $PY" $ECHO "$GREY[*] running afl-fuzz for unicorn_mode, this will take approx 25 seconds" { ../afl-fuzz -V25 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1 |