diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-07-07 17:43:40 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-02 09:41:25 +0200 |
commit | 93b575b26605c347a717b2aa24ddf9cad08b8080 (patch) | |
tree | 4441dbd75bba7a4bbcfed108f436ec5f84162e1c /tools | |
parent | po: update Turkish translation (diff) | |
download | systemd-93b575b26605c347a717b2aa24ddf9cad08b8080.tar.gz systemd-93b575b26605c347a717b2aa24ddf9cad08b8080.tar.bz2 systemd-93b575b26605c347a717b2aa24ddf9cad08b8080.zip |
fuzz: rename "fuzz-corpus" directory to just "fuzz"
Also, all corpus subdirectories are named exactly the same as the fuzzer they
are for. This makes the paths a bit longer, but easier.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/oss-fuzz.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 2db5b4cc4..4d11e81ed 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -35,8 +35,10 @@ fi meson $build -D$fuzzflag -Db_lundef=false ninja -C $build fuzzers -for d in "$(dirname "$0")/../test/fuzz-corpus/"*; do - zip -jqr $OUT/fuzz-$(basename "$d")_seed_corpus.zip "$d" +# The seed corpus is a separate flat archive for each fuzzer, +# with a fixed name ${fuzzer}_seed_corpus.zip. +for d in "$(dirname "$0")/../test/fuzz/fuzz-"*; do + zip -jqr $OUT/$(basename "$d")_seed_corpus.zip "$d" done # get fuzz-dns-packet corpus |