aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/list_symlink_issue35941.txt
blob: eb12bde6ceff5c919c3c49a03be0958653f73c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[!symlink] skip
env GO111MODULE=off

# Issue 35941: suppress symlink warnings when running 'go list all'.
symlink goproj/css -> $GOPATH/src/css

go list all
! stderr 'warning: ignoring symlink'

# Show symlink warnings when patterns contain '...'.
go list goproj/...
stderr 'warning: ignoring symlink'

-- goproj/a.go --
package a

-- css/index.css --
body {}