...

Text file src/cmd/go/testdata/script/install_cmd_gobin.txt

Documentation: cmd/go/testdata/script

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

View as plain text