1
0
mirror of https://github.com/golang/go synced 2024-11-17 19:44:43 -07:00
go/misc/cgo
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
..
errors
fortran misc/cgo/fortran: convert to Go test 2022-10-17 15:15:37 +00:00
gmp
life
nocgo
stdio
test cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
testcarchive
testcshared misc/cgo/testcshared: reapply CL 451816 2022-11-22 02:27:05 +00:00
testgodefs
testplugin
testsanitizers misc/cgo/testsanitizers: run libfuzzer tests in temp directory 2022-12-28 15:34:23 +00:00
testshared misc/cgo/testshared: test build std in shared mode 2022-12-22 15:23:56 +00:00
testso
testsovar
testtls