]> Cypherpunks repositories - gostls13.git/commit
cmd/go: improve TestScript/reuse_git
authorRuss Cox <rsc@golang.org>
Wed, 5 Nov 2025 20:24:23 +0000 (15:24 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 7 Nov 2025 22:16:18 +0000 (14:16 -0800)
commit66c7ca7fb3f2e51c39b6b29c8ea9ade62cd08ec5
tree23e0e8939d02a09c30ddcca8ef189dc268cca989
parentde84ac55c6c7c34bffa69edd20a3dae81b44b11f
cmd/go: improve TestScript/reuse_git

Most reuse origin info in git should not list RepoSum; check that.

Also add tests of go list -reuse, which were omitted entirely
in CL 411398.

Also be extra sure there is no repo left in module cache during reuse tests.

For #75119.

Change-Id: Ia1436b8d9e17db49664d24f1d43c448ac7cd00d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/718380
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/testdata/script/reuse_git.txt