gcc/libgo/go
Ian Lance Taylor f22c12d736 mime: remove test ordering dependency
Backport CL 421442 from upstream.

Original description:

Arrange for tests that call setMimeInit to fully restore the old values,
by clearing the sync.Once that controls initialization.

Once we've done that, call initMime in initMimeUnixTest because
otherwise the test types loaded there will be cleared by the call to
initMime that previously was not being done.

For golang/go#51648

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/483117
2023-04-07 14:07:10 -07:00
..
archive
bufio
builtin
bytes
cmd cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap 2022-09-22 06:28:19 -07:00
compress
container
context
crypto
database/sql
debug
embed
encoding
errors
expvar
flag
fmt
go
golang.org/x
hash
html
image
index/suffixarray
internal
io
log
math
mime mime: remove test ordering dependency 2023-04-07 14:07:10 -07:00
net
os
path
plugin
reflect
regexp
runtime runtime: use _libgo_off_t_type when calling C mmap 2022-10-27 17:12:57 -07:00
sort
strconv
strings
sync
syscall syscall, runtime: always call XSI strerror_r 2022-11-29 16:09:13 -08:00
testdata
testing
text
time
unicode
vendor
go.mod