Text file src/cmd/go/testdata/script/mod_perm.txt
1 # go list should work in ordinary conditions. 2 go list ./... 3 ! stdout _data 4 5 # skip in conditions where chmod 0 may not work. 6 # plan9 should be fine, but copied from list_perm.txt unchanged. 7 [root] skip 8 [GOOS:windows] skip 9 [GOOS:plan9] skip 10 11 # go list should work with unreadable _data directory. 12 chmod 0 _data 13 go list ./... 14 ! stdout _data 15 16 -- go.mod -- 17 module m 18 19 -- x.go -- 20 package m 21 22 -- _data/x.go -- 23 package p 24