# Regression test for golang.org/issue/34094: modules hosted within gitlab.com
# subgroups could not be fetched because the server returned bogus go-import
# tags for prefixes of the module path.

[!net] skip
[!exec:git] skip

env GO111MODULE=on
env GOPROXY=direct
env GOSUMDB=off

! go mod download vcs-test.golang.org/go/missingrepo/missingrepo-git@latest
stderr 'vcs-test.golang.org/go/missingrepo/missingrepo-git: git ls-remote .*: exit status .*'

go mod download vcs-test.golang.org/go/missingrepo/missingrepo-git/notmissing@latest
