summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/mod_download_too_many_redirects.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/mod_download_too_many_redirects.txt')
-rw-r--r--src/cmd/go/testdata/script/mod_download_too_many_redirects.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/mod_download_too_many_redirects.txt b/src/cmd/go/testdata/script/mod_download_too_many_redirects.txt
new file mode 100644
index 0000000..a6b5a59
--- /dev/null
+++ b/src/cmd/go/testdata/script/mod_download_too_many_redirects.txt
@@ -0,0 +1,10 @@
+env GO111MODULE=on
+env GOPROXYBASE=$GOPROXY
+env GOPROXY=$GOPROXYBASE/redirect/11
+env GOSUMDB=off
+
+! go mod download rsc.io/quote@v1.2.0
+stderr 'stopped after 10 redirects'
+
+env GOPROXY=$GOPROXYBASE/redirect/9
+go mod download rsc.io/quote@v1.2.0