mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 11:19:26 -05:00
fuzz_testing: allow automatically resuming an interrupted job
This commit is contained in:
parent
c80bb0eb6f
commit
fd05208762
@ -18,5 +18,12 @@ case "$type" in
|
|||||||
*) echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json"; exit 1 ;;
|
*) echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json"; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if test -d "fuzz-out/$type"
|
||||||
|
then
|
||||||
|
dir="-"
|
||||||
|
else
|
||||||
|
dir="tests/data/fuzz/$type"
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p fuzz-out
|
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 @@
|
afl-fuzz -i "$dir" -m none -t 250 -o fuzz-out/$type build/fuzz/tests/fuzz/${type}_fuzz_tests @@
|
||||||
|
Loading…
Reference in New Issue
Block a user