testing: TestChdir/relative failed due to symlink GOROOT path #72864
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version devel go1.25-b143c98169 Wed Mar 12 18:18:03 2025 -0700 linux/arm64
Output of
go env
in your module/workspace:more:
go repository absolute path is:
/mnt/data/lean/g/golang
, there is a symlink for/mnt/data/lean/g
under/home/ulin/
which is/home/ulin/g
What did you do?
go tool dist test -v testing
What did you see happen?
What did you expect to see?
should pass
more:
go test testing -run TestChdir
failed, too.The text was updated successfully, but these errors were encountered: