env GO111MODULE=on
env GOPROXYBASE=$GOPROXY
env GOPROXY=$GOPROXYBASE/redirect/11
env GOSUMDB=off

! go get -d rsc.io/quote@v1.2.0
stderr 'stopped after 10 redirects'

env GOPROXY=$GOPROXYBASE/redirect/9
go get -d rsc.io/quote@v1.2.0
