go/src
Diogo Pinela 81475ca256 os: ensure tests pass even if GOROOT is read-only
We achieve this by always running all tests that create files in a
fresh temporary directory, rather than just on darwin/{arm,arm64}.
As a bonus, this lets us simplify the cleanup code for these tests
and assume their working directory starts out empty.

Updates #28387

Change-Id: I952007ae390a2451c9a368da26c7f9f5af64b2ba
Reviewed-on: https://go-review.googlesource.com/c/145283
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-10-28 20:13:26 +00:00
..
archive all: fix a bunch of misspellings 2018-10-08 03:12:03 +00:00
bufio bufio: avoid rescanning buffer multiple times in ReadSlice 2018-08-22 17:06:28 +00:00
builtin builtin: document when len and cap are constant 2018-09-18 21:52:11 +00:00
bytes bytes: vary the input alignment to Compare argument in compare_test.go 2018-10-11 04:45:18 +00:00
cmd cmd/compile: make fmt available in rewrite rules 2018-10-28 18:46:36 +00:00
compress all: fix a bunch of misspellings 2018-10-06 15:40:03 +00:00
container container/list: combining insert and remove operations while moving elements within a list. 2018-10-26 20:47:01 +00:00
context context: avoid duplicate removeChild 2018-10-03 15:26:10 +00:00
crypto crypto/tls: bump test timeouts from 1s to 1m for slow builders 2018-10-27 22:12:17 +00:00
database/sql database/sql: remove commented debug prints 2018-10-17 22:58:50 +00:00
debug debug/plan9obj: simplify s[:] to s where 2018-10-13 11:24:43 +00:00
encoding encoding/json: add example to Valid 2018-10-28 19:49:25 +00:00
errors
expvar expvar: add Map.Delete 2018-10-04 01:16:52 +00:00
flag flag: return a consistent parse error if the flag value is invalid 2018-10-19 03:48:38 +00:00
fmt fmt: print maps in key-sorted order 2018-10-18 21:12:24 +00:00
go go/types: automatically ignore $GOROOT/test files that contain build tags 2018-10-26 17:06:15 +00:00
hash hash/crc64: use t.Fatalf in TestGolden 2018-10-25 06:32:12 +00:00
html all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
image jpeg: simplify 'x = x op ...' to 'x op= ...' 2018-10-13 11:18:56 +00:00
index/suffixarray
internal internal/cpu: replace arch dependent with generic minimal feature test 2018-10-28 14:03:47 +00:00
io io: export StringWriter 2018-10-03 20:13:35 +00:00
log log: add Logger.Writer method 2018-10-25 23:23:57 +00:00
math math/big: fix a formula used as documentation 2018-10-28 16:58:20 +00:00
mime mime: add AIX operating system 2018-10-10 15:19:38 +00:00
net net: remove TODO for DNS cache 2018-10-27 01:36:57 +00:00
os os: ensure tests pass even if GOROOT is read-only 2018-10-28 20:13:26 +00:00
path path/filepath: add example for Match 2018-10-24 20:57:32 +00:00
plugin plugin: remove unused func 2018-08-22 16:29:03 +00:00
reflect reflect: add an example for Kind 2018-10-03 22:38:53 +00:00
regexp regexp: add partial Deprecation comment to Copy 2018-10-12 17:48:44 +00:00
runtime runtime: support GODEBUGCPU for more Unix-like operating systems 2018-10-28 18:17:46 +00:00
sort
strconv strconv: add comment explaining bounded shift in formatBits 2018-10-15 21:45:52 +00:00
strings strings: Replace s[:] to s where s is a slice. 2018-10-13 11:17:13 +00:00
sync sync: fix typo in doc 2018-10-06 12:04:57 +00:00
syscall syscall/js: add the Value.Truthy method 2018-10-26 15:12:07 +00:00
testdata Revert "compress: move benchmark text from src/testdata to src/compress/testdata" 2018-10-01 16:16:21 +00:00
testing testing: implement -benchtime=100x 2018-10-12 17:48:31 +00:00
text text/template: recover panics during function calls 2018-10-24 09:09:21 +00:00
time time: return correct zone info on js/wasm 2018-10-24 15:42:36 +00:00
unicode
unsafe unsafe: document that Alignof, Offsetof, and Sizeof return a constant 2018-10-11 02:32:20 +00:00
vendor/golang_org/x vendor: update golang_org/x/net/route from upstream 2018-10-05 21:53:34 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat src/make.bat: add missing go.exe extension 2018-08-25 22:42:46 +00:00
make.rc
naclmake.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
nacltest.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
race.bash
race.bat cmd/dist: fix compilation on windows 2018-08-25 22:39:17 +00:00
run.bash
run.bat
run.rc