Revert "Don't create empty corpus archive as it wont unpack. (#3903)" (#4048)

This reverts commit cb156403e9.
This commit is contained in:
Max Moroz 2020-06-30 13:03:44 -07:00 committed by GitHub
parent c1404e9b62
commit 05063afd88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,6 @@ function run_fuzz_target {
local profraw_file_mask="$DUMPS_DIR/$target.*.profraw"
local profdata_file="$DUMPS_DIR/$target.profdata"
local corpus_real="/corpus/${target}"
mkdir -p $corpus_real
# -merge=1 requires an output directory, create a dummy dir for that.
local corpus_dummy="$OUT/dummy_corpus_dir_for_${target}"

View File

@ -22,7 +22,7 @@ fi
for pair in "$@"; do
read path url <<< "$pair"
wget -q -O $path $url || rm $path
wget -q -O $path $url
done
# Always exit with 0 as we do not track wget return codes and should not rely