From: Bryan C. Mills Date: Fri, 14 Apr 2023 15:59:40 +0000 (+0000) Subject: path/filepath,cmd/go: skip tests involving double-symlinks on ios X-Git-Tag: go1.21rc1~899 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ac9d777caf06364524ce9c67203a14a899f71a57;p=gostls13.git 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 --- 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