Commit 7feb3138 authored by Baokun Lee's avatar Baokun Lee Committed by Bryan C. Mills

cmd/go: fix sumdb test failure

Fixes #31779

Change-Id: Iae80d9adcb39d12c36c525fc2738625cadcc8e41
Reviewed-on: https://go-review.googlesource.com/c/go/+/174838
Run-TryBot: Baokun Lee <nototon@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
parent a88cb1d8
...@@ -21,7 +21,7 @@ cp go.mod.orig go.mod ...@@ -21,7 +21,7 @@ cp go.mod.orig go.mod
env GOSUMDB=$sumdb env GOSUMDB=$sumdb
env GOPROXY=direct env GOPROXY=direct
! go get -m rsc.io/fortune@v1.0.0 ! go get -m rsc.io/fortune@v1.0.0
stderr 'verifying.*localhost.localdev.*no such host' stderr 'verifying.*lookup.*localhost.localdev'
rm $GOPATH/pkg/mod/download/cache/sumdb rm $GOPATH/pkg/mod/download/cache/sumdb
rm go.sum rm go.sum
...@@ -30,7 +30,7 @@ cp go.mod.orig go.mod ...@@ -30,7 +30,7 @@ cp go.mod.orig go.mod
env GOSUMDB=$sumdb env GOSUMDB=$sumdb
env GOPROXY=$proxy/sumdb-404 env GOPROXY=$proxy/sumdb-404
! go get -m rsc.io/fortune@v1.0.0 ! go get -m rsc.io/fortune@v1.0.0
stderr 'verifying.*localhost.localdev.*no such host' stderr 'verifying.*lookup.*localhost.localdev'
rm $GOPATH/pkg/mod/download/cache/sumdb rm $GOPATH/pkg/mod/download/cache/sumdb
rm go.sum rm go.sum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment