aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-09-04 15:57:51 -0700
committerGopher Robot <gobot@golang.org>2024-09-04 23:26:25 +0000
commitd102c2ed01b0aaa1278371fb1c1d2f0cd6a71f0d (patch)
tree9d13162c0460184ff3667af79ab6c33289550520 /src/encoding
parenta2891aef7533f66870fc9fef0c2d7d54167f2d1d (diff)
downloadgo-d102c2ed01b0aaa1278371fb1c1d2f0cd6a71f0d.tar.xz
os: don't fail TestGetwdDeepWithPWDSet if TMPDIR has a symlink
When testing with PWD set, it's possible for the stat of PWD to fail with ENAMETOOLONG, and for syscall.Getwd to fail for the same reason. If PWD contains symlinks, the fallback code won't know about them. If Getwd returns the same result as PWD with resolved symlinks, the test should not fail. Change-Id: I39587ddb826d4e18339e185aad0cdd60167b1079 Reviewed-on: https://go-review.googlesource.com/c/go/+/610759 Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Tim King <taking@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions