aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_vcs_missing.txt
blob: f8be43cf4c6494442cea992819a23f16b42e435c (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 -d 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() {}