test(fuzz): Use outputs from previous size as recombination material for new size
This commit is contained in:
parent
1dead5bc03
commit
cfbcb6090c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
mkdir "fuzz/corpus/fuzz_$1_recombination_sources" || true
|
||||
mv "fuzz/corpus/fuzz_$1/*" "fuzz/corpus/fuzz_$1_recombination_sources"
|
||||
for size in "${@:2}"; do
|
||||
rm -rf "fuzz/corpus/fuzz_$1_pre_fresh_blood"
|
||||
mv "fuzz/corpus/fuzz_$1_pre_fresh_blood/*" "fuzz/corpus/fuzz_$1_recombination_sources" || true
|
||||
./build-fuzz-corpus-multiple-restarts.sh "$1" "$size"
|
||||
find "fuzz/corpus/fuzz_$1_pre_fresh_blood" -type -f -size "-${size}c" -exec mv '{}' "fuzz/corpus/fuzz_$1" ';'
|
||||
find "fuzz/corpus/fuzz_$1_recombination_sources" -type -f -size "-${size}c" -exec mv '{}' "fuzz/corpus/fuzz_$1" ';'
|
||||
|
|
Loading…
Add table
Reference in a new issue