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

     1  [!symlink] skip
     2  env GO111MODULE=off
     3  
     4  mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x
     5  symlink $WORK/tmp/gopath/src/x/y/_vendor/src/x/y -> ../../..
     6  mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/w
     7  cp w.go $WORK/tmp/gopath/src/x/y/w/w.go
     8  symlink $WORK/tmp/gopath/src/x/y/w/vendor -> ../_vendor/src
     9  mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/z
    10  cp z.go $WORK/tmp/gopath/src/x/y/z/z.go
    11  
    12  env GOPATH=$WORK/tmp/gopath/src/x/y/_vendor${:}$WORK/tmp/gopath
    13  cd $WORK/tmp/gopath/src
    14  go list ./...
    15  
    16  -- w.go --
    17  package w
    18  
    19  import "x/y/z"
    20  -- z.go --
    21  package z
    22  

View as plain text