summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/list_std.txt
blob: a63d74db1205a4a905e319eb59b195ce0625163e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[!gc] skip

# listing GOROOT should only find standard packages
cd $GOROOT/src
go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' ./...
! stdout .
# TODO: ignore _/blah/go/src in output

# our vendored packages should be reported as standard
go list std cmd
stdout golang_org/x/net/http2/hpack
stdout cmd/vendor/golang\.org/x/arch/x86/x86asm