diff options
author | hexcoder <hexcoder-@users.noreply.github.com> | 2019-11-08 19:49:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 19:49:57 +0100 |
commit | 99e623ef0bcbebcdd6b102020e04d65f123ff7c3 (patch) | |
tree | c7b38cc1152b5abeae4ae9d6400a8d13baeb7587 | |
parent | 7a20cc2f58d2709a6b26c98bb6a931dfe5e186b6 (diff) | |
parent | 8290bb337451e06e71af2f1a1e3dc241a10b8652 (diff) | |
download | afl++-99e623ef0bcbebcdd6b102020e04d65f123ff7c3.tar.gz |
Merge pull request #104 from devnexen/test_linux_chg
test, /sbin not necessarily in the path os casual users.
-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 617401eb..679a514e 100755 --- a/test/test.sh +++ b/test/test.sh @@ -99,7 +99,7 @@ test -e ../${AFL_GCC} -a -e ../afl-showmap -a -e ../afl-fuzz && { } # now we want to be sure that afl-fuzz is working # make sure core_pattern is set to core on linux - (test "$(uname -s)" = "Linux" && test "$(sysctl kernel.core_pattern)" != "kernel.core_pattern = core" && { + (test "$(uname -s)" = "Linux" && test "$(/sbin/sysctl kernel.core_pattern)" != "kernel.core_pattern = core" && { $ECHO "$YELLOW[!] we should not run afl-fuzz with enabled core dumps. Run 'sudo sh afl-system-config'.$RESET" true }) || @@ -169,7 +169,7 @@ test -e ../afl-clang-fast && { CODE=1 } # now we want to be sure that afl-fuzz is working - (test "$(uname -s)" = "Linux" && test "$(sysctl kernel.core_pattern)" != "kernel.core_pattern = core" && { + (test "$(uname -s)" = "Linux" && test "$(/sbin/sysctl kernel.core_pattern)" != "kernel.core_pattern = core" && { $ECHO "$YELLOW[!] we should not run afl-fuzz with enabled core dumps. Run 'sudo sh afl-system-config'.$RESET" true }) || |