]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add a missing curly-brace in the 'stale' command format string
authorBryan C. Mills <bcmills@google.com>
Tue, 17 Mar 2020 19:17:22 +0000 (15:17 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 18 Mar 2020 01:03:36 +0000 (01:03 +0000)
commit6412750f32224f6820f781d09b2092c5c358dddc
tree32f3788eb16685e0bed54d2bb114a45ee2832f2c
parent971f8a2f9a5beb0473f82d7299613c86d2b4a5b9
cmd/go: add a missing curly-brace in the 'stale' command format string

The missing brace made the 'stale' command a no-op in the non-error case.

Fix the 'short' skip in install_cross_gobin (it was backward) and
update it to no longer check staleness of a not-necessarily-stale
target and to no longer expect to be able to install into GOROOT/pkg.
(This was missed in #30316 because that part of the test was
erroneously skipped in non-short mode.)

Change-Id: I6a276fec5fa5e5da3fe0daf0c2b5086116ed7c1a
Reviewed-on: https://go-review.googlesource.com/c/go/+/223747
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/script_test.go
src/cmd/go/testdata/script/install_cross_gobin.txt