1
0
mirror of https://github.com/golang/go synced 2024-11-17 05:14:56 -07:00
go/misc/cgo/testsanitizers
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
..
testdata misc/cgo/testsanitizers: add libfuzzer tests 2022-12-27 21:10:04 +00:00
asan_test.go
cc_test.go misc/cgo/testsanitizers: add libfuzzer tests 2022-12-27 21:10:04 +00:00
cshared_test.go
libfuzzer_test.go misc/cgo/testsanitizers: run libfuzzer tests in temp directory 2022-12-28 15:34:23 +00:00
msan_test.go cmd/dist, misc/cgo/testsanitizers: enable msan tests on freebsd/amd64 2022-10-14 12:48:50 +00:00
tsan_test.go