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