...

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

Documentation: cmd/go/testdata/script

     1[!symlink] skip
     2env GO111MODULE=off
     3
     4mkdir $WORK/tmp/src
     5symlink $WORK/tmp/src/dir1 -> $WORK/tmp
     6cp p.go $WORK/tmp/src/dir1/p.go
     7env GOPATH=$WORK/tmp
     8go list -f '{{.Root}}' dir1
     9stdout '^'$WORK/tmp'$'
    10
    11-- p.go --
    12package p

View as plain text