Text file src/cmd/go/testdata/script/mod_vcs_missing.txt

     1  [exec:bzr] skip 'tests NOT having bzr'
     2  [short] skip
     3  
     4  env GOPROXY=direct
     5  
     6  cd empty
     7  ! go get vcs-test.golang.org/foo.bzr
     8  stderr '"bzr": executable file not found'
     9  cd ..
    10  
    11  # 1.11 used to give the cryptic error "cannot find module for path" here, but
    12  # only for a main package.
    13  cd main
    14  ! go build -mod=mod
    15  stderr '"bzr": executable file not found'
    16  cd ..
    17  
    18  -- empty/go.mod --
    19  module m
    20  -- main/go.mod --
    21  module m
    22  -- main/main.go --
    23  package main
    24  
    25  import _ "vcs-test.golang.org/foo.bzr"
    26  
    27  func main() {}
    28  

View as plain text