Bug fix for new script
This commit is contained in:
parent
5423e4ad26
commit
f4748beff6
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ ncpus=$(nproc || getconf NPROCESSORS_ONLN)
|
|||
ncpus=$(( ncpus / ( 1 + $(cat /sys/devices/system/cpu/smt/active))))
|
||||
RESTARTS=25
|
||||
mv "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_pre_fresh_blood"
|
||||
for i in $(seq 1 RESTARTS); do
|
||||
for i in $(seq 1 $RESTARTS); do
|
||||
echo "RESTART ${i}"
|
||||
mkdir "fuzz/corpus/fuzz_$1"
|
||||
cargo fuzz run --all-features "fuzz_$1" "fuzz/corpus/fuzz_$1" -- \
|
||||
|
@ -12,7 +12,7 @@ for i in $(seq 1 RESTARTS); do
|
|||
mv "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_restart_${i}"
|
||||
done
|
||||
mkdir "fuzz/corpus/fuzz_$1"
|
||||
for i in $(seq 1 RESTARTS); do
|
||||
for i in $(seq 1 $RESTARTS); do
|
||||
mv "fuzz/corpus/fuzz_$1_restart_${i}/*" "fuzz/corpus/fuzz_$1"
|
||||
rmdir "fuzz/corpus/fuzz_$1_restart_${i}"
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue