]> Cypherpunks.ru repositories - gostls13.git/commit
misc/cgo/test: add asan and msan arena tests
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 19 Sep 2022 20:24:14 +0000 (20:24 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 12 Oct 2022 20:44:43 +0000 (20:44 +0000)
commit6a2a11fc2836f2b4f5be1f035822ad18856f848a
treec3e08bfe7d477f01a39d74678a98b9deffb24e66
parente0d01b8467b5cb9e68758932f50c3187374011ba
misc/cgo/test: add asan and msan arena tests

While we're here, replace a couple uses of os.Environ with cmd.Environ.

For #51317.

Change-Id: Ic5cf4a887a7975a8281223eec0f94df230b6f095
Reviewed-on: https://go-review.googlesource.com/c/go/+/431955
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
misc/cgo/testsanitizers/asan_test.go
misc/cgo/testsanitizers/cc_test.go
misc/cgo/testsanitizers/msan_test.go
misc/cgo/testsanitizers/testdata/arena_fail.go [new file with mode: 0644]