]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/testsanitizers: don't create fuzz corpus
authorIan Lance Taylor <iant@golang.org>
Wed, 20 Nov 2024 22:18:58 +0000 (14:18 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 21 Nov 2024 02:17:08 +0000 (02:17 +0000)
commitf96987888f343e708c31e42356ba61715ee1f437
treeaeb22ad325211b273820b415fb453b7d4f94eb88
parentadc9c455873fef97c5759e4811f0d9c8217fe27b
cmd/cgo/internal/testsanitizers: don't create fuzz corpus

The TestASANFuzz test would sometimes create a fuzz corpus
in testdata/testdata/FuzzReverse. Avoid modifying the source
directory by building the test with "go test -c" and running
it in a temporary directory.

Change-Id: I12e2da4c85165fa35e0dc1aa6b46c6d0fbccaab8
Reviewed-on: https://go-review.googlesource.com/c/go/+/630377
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/cmd/cgo/internal/testsanitizers/asan_test.go