mirror of https://github.com/google/oss-fuzz.git
[gnutls] If the upstream repo has a corpus, include it (#222)
This commit is contained in:
parent
0f558ce6e4
commit
57795ec502
|
@ -31,4 +31,9 @@ for f in $fuzzers; do
|
|||
if [ -f "$SRC/${fuzzer}_seed_corpus.zip" ]; then
|
||||
cp "$SRC/${fuzzer}_seed_corpus.zip" "$OUT/"
|
||||
fi
|
||||
|
||||
corpus_dir=$(basename "${fuzzer}" "_fuzzer")
|
||||
if [ -d "devel/fuzz/${corpus_dir}.in/" ]; then
|
||||
zip -r "$OUT/${fuzzer}_seed_corpus.zip" "devel/fuzz/${corpus_dir}.in/"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue