1
0
mirror of https://github.com/golang/go synced 2024-09-29 10:24:34 -06:00
go/misc
Cherry Mui 9123221ccf misc/cgo/testsanitizers: run libfuzzer tests in temp directory
The libFuzzer generated binary by default writes failure input
into the current directory. Set cmd.Dir to the temporary directory
so it won't write to GOROOT when running the test.

Change-Id: I3e4ce7e3f845be5c9f09511c36e7a9a396eafad2
Reviewed-on: https://go-review.googlesource.com/c/go/+/459556
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-28 15:34:23 +00:00
..
android misc: use strings.Builder 2022-09-06 15:44:25 +00:00
arm
cgo misc/cgo/testsanitizers: run libfuzzer tests in temp directory 2022-12-28 15:34:23 +00:00
chrome/gophertool
ios all: gofmt main repo 2022-04-11 16:34:30 +00:00
linkcheck
reboot cmd/go: omit VCS stamping during bootstrap 2022-09-22 18:55:06 +00:00
swig
wasm misc/wasm: update deprecated substr usage 2022-09-27 17:15:12 +00:00
editors
go.mod