]> Cypherpunks repositories - gostls13.git/commit
cmd/go: skip TestScript/list_goroot_symlink on darwin
authorBryan C. Mills <bcmills@google.com>
Wed, 12 Apr 2023 21:42:29 +0000 (21:42 +0000)
committerBryan Mills <bcmills@google.com>
Thu, 13 Apr 2023 02:29:25 +0000 (02:29 +0000)
commite8fe3b77574d9afadab664104a669d8e9f0f4303
tree6062e09d51f65fb01f84f1b9392a1e1c28b1ce10
parentf58c6cccc44752146aabcd50a30865e34817a4b4
cmd/go: skip TestScript/list_goroot_symlink on darwin

The list_goroot_symlink test relies on fsys.Walk (and ultimately
syscall.Lstat) conforming to POSIX pathname resolution semantics.
POSIX requires that symlinks ending in a slash be fully resolved,
but it appears that lstat in current darwin kernels does not fully
resolve the last pathname component when it is a symlink to a symlink.

For #59586.
For #35678.

Change-Id: I37526f012ba94fa1796b33109a41c3226c967d3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/484216
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/script/list_goroot_symlink.txt