diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-07-19 13:29:46 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-08-03 09:50:35 +0200 |
commit | 59328ed84e3a83dd41e4f319f0b985bd7a9a40a3 (patch) | |
tree | 09568d380d8fdca7a6b406047a49922942ca003c /ci | |
parent | 60e610a23628a51484a1abd3c2295600ef3d1b7c (diff) | |
download | libgit2-59328ed84e3a83dd41e4f319f0b985bd7a9a40a3.tar.gz |
fuzzers: rename "fuzz" directory to match our style
Our layout uses names like "examples" or "tests" which is why the "fuzz"
directory doesn't really fit in here. Rename the directory to be called
"fuzzers" instead. Furthermore, we rename the fuzzer "fuzz_packfile_raw"
to "packfile_raw_fuzzer", which is also in line with the already
existing fuzzer at google/oss-fuzz.
While at it, rename the "packfile_raw" fuzzer to instead just be called
"packfile" fuzzer.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ci/test.sh b/ci/test.sh index 73f551ff1..0a1cff2d3 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -190,9 +190,8 @@ if [ -z "$SKIP_FUZZERS" ]; then echo "## Running fuzzers" echo "##############################################################################" - for fuzzer in $(find ./fuzz/ -type f -executable); do - fuzzer_name=$(basename "${fuzzer}") - "${fuzzer}" "../fuzz/corpora/${fuzzer_name}" || die $? + for fuzzer in fuzzers/*_fuzzer; do + "${fuzzer}" "../fuzzers/corpora/$(basename "${fuzzer%_fuzzer}")" || die $? done fi |