...

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

Documentation: cmd/go/testdata/script

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

View as plain text