aboutsummaryrefslogtreecommitdiff
path: root/contrib/fuzz_testing
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-10 11:24:26 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-23 11:27:31 +0000
commit4cd4a4313dea6a270a941ae301b4cc20393e7967 (patch)
tree3593e42ebbf264f0203624f9e791320ddce23ea6 /contrib/fuzz_testing
parentMakefile: build fuzz tests statically, starts faster (diff)
downloadmonero-4cd4a4313dea6a270a941ae301b4cc20393e7967.tar.xz
fuzz_testing: create out directory if needed, and fix filename passing
Diffstat (limited to 'contrib/fuzz_testing')
-rwxr-xr-xcontrib/fuzz_testing/fuzz.sh3
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 @@