]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.13] cmd/go: add -d flag to mod_get_test
authorJay Conrod <jayconrod@google.com>
Tue, 21 Jan 2020 22:50:36 +0000 (14:50 -0800)
committerCarlos Amedee <carlos@golang.org>
Wed, 26 Feb 2020 17:04:28 +0000 (17:04 +0000)
commit20a2e0a58454cbfa4aa32c673c87859d4cf6c52c
tree4071f6ebc9333e4e5097aa3fbb962f067db2c003
parent0e115a326648cd650f833a175c0505774413d9db
[release-branch.go1.13] cmd/go: add -d flag to mod_get_test

'go get all' was run in this test without -d. This caused some std
packages to be reinstalled if the test is run in a slightly different
configuration than make.bash was run. run.bash would fail in some
situations because of this. Nothing in the cmd/go tests should modify
installed std or cmd packages.

Updates #36846
Updates #35459

Change-Id: Idd259a27d55502923b7fc54f361a77f0ac11eea2
Reviewed-on: https://go-review.googlesource.com/c/go/+/215721
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
(cherry picked from commit 71bbffbc48d03b447c73da1f54ac57350fc9b36a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/218597
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/testdata/script/mod_get_test.txt