diff options
author | jonasmollerlarsen <invalid@invalid.invalid> | 2020-06-20 11:50:53 +0200 |
---|---|---|
committer | jonasmollerlarsen <invalid@invalid.invalid> | 2020-06-20 11:50:53 +0200 |
commit | 990b234067888bcfd83961e3112e734a6a5548b1 (patch) | |
tree | 75f4738d18a1287b493be981b5c2eacd875d9c81 /test | |
parent | 2a254fce8fc63485b738a6bc895d36a091b0a6c6 (diff) | |
download | AFLplusplus-990b234067888bcfd83961e3112e734a6a5548b1.tar.gz |
Fix when env. PATH contains spaces
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index 921e2087..4430b5ac 100755 --- a/test/test.sh +++ b/test/test.sh @@ -86,7 +86,7 @@ export AFL_LLVM_INSTRUMENT=AFL # on OpenBSD we need to work with llvm from /usr/local/bin test -e /usr/local/bin/opt && { - export PATH=/usr/local/bin:${PATH} + export PATH="/usr/local/bin:${PATH}" } # on MacOS X we prefer afl-clang over afl-gcc, because # afl-gcc does not work there @@ -108,7 +108,7 @@ RESET="\\033[0m" MEM_LIMIT=none -export PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin +export PATH="${PATH}:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" $ECHO "${RESET}${GREY}[*] starting afl++ test framework ..." |