summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/mod_vcs_missing.txt
blob: 9e6e371927bef9f83cd31d9247928201c200dcf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[exec:bzr] skip 'tests NOT having bzr'
[!net] skip

env GO111MODULE=on
env GOPROXY=direct

cd empty
! go get launchpad.net/gocheck
stderr '"bzr": executable file not found'
cd ..

# 1.11 used to give the cryptic error "cannot find module for path" here, but
# only for a main package.
cd main
! go build -mod=mod
stderr '"bzr": executable file not found'
cd ..

-- empty/go.mod --
module m
-- main/go.mod --
module m
-- main/main.go --
package main

import _ "launchpad.net/gocheck"

func main() {}