From 2de41299d8c5534759dda5deff175d16f9db1646 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Tue, 12 Jan 2021 16:45:52 -0500 Subject: [PATCH] [mdbtools] Move test files out of the checkout tree (#4955) Per #4928, external files are overwritten by CIFuzz if they have been checked out into the main source tree. --- projects/mdbtools/Dockerfile | 2 +- projects/mdbtools/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/mdbtools/Dockerfile b/projects/mdbtools/Dockerfile index 10209e20f..37b26686a 100644 --- a/projects/mdbtools/Dockerfile +++ b/projects/mdbtools/Dockerfile @@ -18,6 +18,6 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf autoconf-archive automake gettext libtool pkg-config RUN git clone --depth 1 --branch master https://github.com/mdbtools/mdbtools mdbtools -RUN git clone --depth 1 https://github.com/mdbtools/mdbtestdata mdbtools/test +RUN git clone --depth 1 https://github.com/mdbtools/mdbtestdata mdbtestdata WORKDIR mdbtools COPY build.sh $SRC/ diff --git a/projects/mdbtools/build.sh b/projects/mdbtools/build.sh index f9e0eba6b..0f1a8b952 100644 --- a/projects/mdbtools/build.sh +++ b/projects/mdbtools/build.sh @@ -22,7 +22,7 @@ make clean make -zip $OUT/fuzz_mdb_seed_corpus.zip test/data/*.mdb test/data/*.accdb +zip $OUT/fuzz_mdb_seed_corpus.zip ../mdbtestdata/data/*.mdb ../mdbtestdata/data/*.accdb cd src/fuzz make fuzz_mdb