]> Cypherpunks repositories - gostls13.git/commit
cmd/go: enable fips test and fix caching bug
authorRuss Cox <rsc@golang.org>
Sun, 17 Nov 2024 22:17:50 +0000 (17:17 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 31 Jan 2025 16:50:43 +0000 (08:50 -0800)
commit37f27fbecd422da9fefb8ae1cc601bc5b4fec44b
tree8e47cb81f977280158b67c0f93235b6c79067a75
parent77d20838e9cc3ad4f9c167db245752569d7ffc48
cmd/go: enable fips test and fix caching bug

Enable the cmd/go fips test now that v1.0.0.zip has been checked in.
Will still need to enable the alias half when the alias is checked in.

Also fix a problem that was causing spurious failures, by fixing
repeated unpackings and also disabling modindex reads of the
virtual fips140 snapshot directories.

Fixes #71491.

Change-Id: I7fa21e9bde07ff4eb6c3483e99d49316ee0ea7f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/645835
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modfetch/cache.go
src/cmd/go/internal/modindex/read.go
src/cmd/go/testdata/script/fipssnap.txt