]> Cypherpunks.ru repositories - gostls13.git/commitdiff
path/filepath,cmd/go: skip tests involving double-symlinks on ios
authorBryan C. Mills <bcmills@google.com>
Fri, 14 Apr 2023 15:59:40 +0000 (15:59 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 14 Apr 2023 17:01:07 +0000 (17:01 +0000)
For #59586.

Change-Id: I092f7a4abce1074b8eef64a3ecf9fc187914709b
Reviewed-on: https://go-review.googlesource.com/c/go/+/484755
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Bypass: Bryan Mills <bcmills@google.com>

src/cmd/go/testdata/script/list_goroot_symlink.txt
src/path/filepath/path_test.go

index 1a34127eb9c14a1ba59dc823474513c44c791415..041ae55863e252126a4ba98dbfd34df7211fc832 100644 (file)
@@ -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.
index aed8cc8383f79e77fb82467383ca390d2749d6c0..0c73e288e5c1e08d627614093ae3ead504b69a37 100644 (file)
@@ -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