From 4f3f95ba8e26a0fc4a19b981dd07776a41a65f19 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Sun, 3 Mar 2024 14:57:16 +0100 Subject: [PATCH] ci: Add testing replacement (#935) Replace until https://github.com/AdamKorcz/go-118-fuzz-build/pull/24 is merged. --- ossfuzz/ossfuzz.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ossfuzz/ossfuzz.sh b/ossfuzz/ossfuzz.sh index c785776356..abf7c9b85d 100755 --- a/ossfuzz/ossfuzz.sh +++ b/ossfuzz/ossfuzz.sh @@ -40,6 +40,7 @@ sed -i 's/dicts = readDicts(f, zr)/dicts = fuzzDicts/g' "${SRC}"/compress/zstd/f if [ "$SANITIZER" != "coverage" ]; then sed -i 's/\"testing\"/\"github.com\/AdamKorcz\/go-118-fuzz-build\/testing\"/g' "${SRC}"/compress/internal/fuzz/helpers.go + printf "\n\nreplace github.com/AdamKorcz/go-118-fuzz-build => github.com/klauspost/go-118-fuzz-build d5f2eff5a9ec105b249e0bb1a24c1725330ed424\n" >> go.mod fi # OSS-Fuzz uses 'go build' to build the fuzzers, so we move the tests