]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert Test{Local,Bad}Imports* to script tests
authorBryan C. Mills <bcmills@google.com>
Mon, 18 Nov 2019 16:18:12 +0000 (11:18 -0500)
committerBryan C. Mills <bcmills@google.com>
Mon, 18 Nov 2019 18:21:31 +0000 (18:21 +0000)
commit9665be3a48aa3bc7a905e77760403d3751646ba9
tree49913bce2b7e9f9722f141ff5b00c2a44136d6a8
parent73d20f8186a091c8d7e81b621136770981cf8e44
cmd/go: convert Test{Local,Bad}Imports* to script tests

These tests were all attempting to write to their working directory,
which may fail if GOROOT is read-only.

Updates #28387
Updates #30316

Change-Id: Ib85234cdcf5ef4d554d8c99cf0942981bbd394ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/207604
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/local/easy.go [deleted file]
src/cmd/go/testdata/local/easysub/easysub.go [deleted file]
src/cmd/go/testdata/local/easysub/main.go [deleted file]
src/cmd/go/testdata/local/hard.go [deleted file]
src/cmd/go/testdata/local/sub/sub.go [deleted file]
src/cmd/go/testdata/local/sub/sub/subsub.go [deleted file]
src/cmd/go/testdata/script/gopath_local.txt [new file with mode: 0644]