summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/mod_perm.txt
blob: 2972f46601c0ebedb164866b33851daccd75af04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# go list should work in ordinary conditions.
go list ./...
! stdout _data

# skip in conditions where chmod 0 may not work.
# plan9 should be fine, but copied from list_perm.txt unchanged.
[root] skip
[GOOS:windows] skip
[GOOS:plan9] skip

# go list should work with unreadable _data directory.
chmod 0 _data
go list ./...
! stdout _data

-- go.mod --
module m

-- x.go --
package m

-- _data/x.go --
package p