blob: 4a5d8c8c627a041a7bcefaa21b44c5730e64044f [file] [log] [blame]
# Check that commands in cmd are install to $GOROOT/bin, not $GOBIN.
# Verifies golang.org/issue/32674.
[gccgo] skip
env GOBIN=gobin
mkdir gobin
go list -f '{{.Target}}' cmd/go
stdout $GOROOT[/\\]bin[/\\]go$GOEXE
# Check that tools are installed to $GOTOOLDIR, not $GOBIN.
go list -f '{{.Target}}' cmd/compile
stdout $GOROOT[/\\]pkg[/\\]tool[/\\]${GOOS}_${GOARCH}[/\\]compile$GOEXE