Text file src/cmd/go/testdata/script/install_cmd_gobin.txt
1 # Check that commands in cmd are install to $GOROOT/bin, not $GOBIN. 2 # Verifies golang.org/issue/32674. 3 env GOBIN=gobin 4 mkdir gobin 5 go list -f '{{.Target}}' cmd/go 6 stdout $GOROOT[/\\]bin[/\\]go$GOEXE 7 8 # Check that tools are installed to $GOTOOLDIR, not $GOBIN. 9 go list -f '{{.Target}}' cmd/compile 10 stdout $GOROOT[/\\]pkg[/\\]tool[/\\]${GOOS}_${GOARCH}[/\\]compile$GOEXE 11