fuzz: fix broken OSS-Fuzz build (#18814)

Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: Zac Bergquist <zac.bergquist@goteleport.com>
This commit is contained in:
Zac Bergquist 2022-11-29 13:42:26 -05:00 committed by GitHub
parent c903cfa1d2
commit dca43edffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,10 @@ TELEPORT_PREFIX="github.com/gravitational/teleport"
prepare_teleport() { prepare_teleport() {
go get github.com/AdamKorcz/go-118-fuzz-build/utils go get github.com/AdamKorcz/go-118-fuzz-build/testing
go get -u all || true go get -u all || true
go mod tidy go mod tidy
go get github.com/AdamKorcz/go-118-fuzz-build/utils go get github.com/AdamKorcz/go-118-fuzz-build/testing
# Fix /root/go/pkg/mod/github.com/aws/aws-sdk-go-v2/internal/ini@v1.3.0/fuzz.go:13:21: # Fix /root/go/pkg/mod/github.com/aws/aws-sdk-go-v2/internal/ini@v1.3.0/fuzz.go:13:21:
# not enough arguments in call to Parse # not enough arguments in call to Parse
@ -17,7 +17,7 @@ prepare_teleport() {
prepare_teleport_api() { prepare_teleport_api() {
(cd api; go get github.com/AdamKorcz/go-118-fuzz-build/utils) (cd api; go get github.com/AdamKorcz/go-118-fuzz-build/testing)
} }