summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/install_cmd_gobin.txt
blob: 81649e234ff38b21cb92353830fe2cd404188e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
# Check that commands in cmd are install to $GOROOT/bin, not $GOBIN.
# Verifies golang.org/issue/32674.
[gccgo] stop
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