diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-10 11:24:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-23 11:27:31 +0000 |
commit | 4cd4a4313dea6a270a941ae301b4cc20393e7967 (patch) | |
tree | 3593e42ebbf264f0203624f9e791320ddce23ea6 | |
parent | Makefile: build fuzz tests statically, starts faster (diff) | |
download | monero-4cd4a4313dea6a270a941ae301b4cc20393e7967.tar.xz |
fuzz_testing: create out directory if needed, and fix filename passing
-rwxr-xr-x | contrib/fuzz_testing/fuzz.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fuzz_testing/fuzz.sh b/contrib/fuzz_testing/fuzz.sh index ad321210a..c339ceeed 100755 --- a/contrib/fuzz_testing/fuzz.sh +++ b/contrib/fuzz_testing/fuzz.sh @@ -18,4 +18,5 @@ case "$type" in *) echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json"; exit 1 ;; esac -afl-fuzz -i tests/data/fuzz/$type -m 150 -t 250 -o fuzz-out/$type build/fuzz/tests/fuzz/${type}_fuzz_tests +mkdir -p fuzz-out +afl-fuzz -i tests/data/fuzz/$type -m none -t 250 -o fuzz-out/$type build/fuzz/tests/fuzz/${type}_fuzz_tests @@ |