| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/ |
| Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/install_shadow_gopath.txt |
# Tests Issue #3562
# go get foo.io (not foo.io/subdir) was not working consistently.
env GO111MODULE=off
env GOPATH=$WORK/gopath1${:}$WORK/gopath2
mkdir $WORK/gopath1/src/test
mkdir $WORK/gopath2/src/test
cp main.go $WORK/gopath2/src/test/main.go
cd $WORK/gopath2/src/test
! go install
stderr 'no install location for.*gopath2.src.test: hidden by .*gopath1.src.test'
-- main.go --
package main
func main() {}