1 # Testing mod download with non semantic versions; turn off proxy.
2 [short] skip
3 [!git] skip
4 env GOPROXY=direct
5 env GOSUMDB=off
6
7 go mod download vcs-test.golang.org/git/hello.git@fc3a09f
8 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.info
9 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.mod
10 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.zip
11
12 go mod download vcs-test.golang.org/git/hello.git@master
13 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.info
14 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.mod
15 exists $GOPATH/pkg/mod/cache/download/vcs-test.golang.org/git/hello.git/@v/v0.0.0-20170922010558-fc3a09f3dc5c.zip
16
17
18 -- go.mod --
19 module m
20
21 -- m.go --
22 package m
23
View as plain text