# 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 get -d vcs-test.golang.org/go/missingrepo/missingrepo-git
stderr 'vcs-test.golang.org/go/missingrepo/missingrepo-git: git ls-remote .*: exit status .*'

go get -d vcs-test.golang.org/go/missingrepo/missingrepo-git/notmissing
