From ac9d777caf06364524ce9c67203a14a899f71a57 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Fri, 14 Apr 2023 15:59:40 +0000 Subject: [PATCH] path/filepath,cmd/go: skip tests involving double-symlinks on ios For #59586. Change-Id: I092f7a4abce1074b8eef64a3ecf9fc187914709b Reviewed-on: https://go-review.googlesource.com/c/go/+/484755 Run-TryBot: Bryan Mills Auto-Submit: Bryan Mills Reviewed-by: David Chase TryBot-Bypass: Bryan Mills --- src/cmd/go/testdata/script/list_goroot_symlink.txt | 1 + src/path/filepath/path_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/list_goroot_symlink.txt b/src/cmd/go/testdata/script/list_goroot_symlink.txt index 1a34127eb9..041ae55863 100644 --- a/src/cmd/go/testdata/script/list_goroot_symlink.txt +++ b/src/cmd/go/testdata/script/list_goroot_symlink.txt @@ -7,6 +7,7 @@ [short] skip 'copies the cmd/go binary' [!symlink] skip 'tests symlink-specific behavior' [GOOS:darwin] skip 'Lstat on darwin does not conform to POSIX pathname resolution; see #59586' +[GOOS:ios] skip 'Lstat on ios does not conform to POSIX pathname resolution; see #59586' # Ensure that the relative path to $WORK/lib/goroot/src from $PWD is a different # number of ".." hops than the relative path to it from $WORK/share/goroot/src. diff --git a/src/path/filepath/path_test.go b/src/path/filepath/path_test.go index aed8cc8383..0c73e288e5 100644 --- a/src/path/filepath/path_test.go +++ b/src/path/filepath/path_test.go @@ -899,7 +899,7 @@ func TestWalkSymlinkRoot(t *testing.T) { desc: "double link with slash", root: linklink + string(filepath.Separator), want: []string{linklink, filepath.Join(linklink, "foo")}, - buggyGOOS: []string{"darwin"}, // https://go.dev/issue/59586 + buggyGOOS: []string{"darwin", "ios"}, // https://go.dev/issue/59586 }, } { tt := tt -- 2.48.1