From: Tobias Klauser Date: Tue, 21 Dec 2021 12:20:20 +0000 (+0100) Subject: os: enable TestMkdirAllWithSymlink on darwin/arm64 X-Git-Tag: go1.18beta2~176 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d181885de8f718623b41d45f5cc8644bbd8ad318;p=gostls13.git os: enable TestMkdirAllWithSymlink on darwin/arm64 Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). TestMkdirAllWithSymlink ought to run on darwin/arm64, so enable it on that platform. For #45696 Change-Id: I2cad6b1dfddf215e6b6cd262bbd22251f48f3d8c Reviewed-on: https://go-review.googlesource.com/c/go/+/373359 Trust: Tobias Klauser Run-TryBot: Tobias Klauser TryBot-Result: Gopher Robot Reviewed-by: Emmanuel Odeke --- diff --git a/src/os/path_test.go b/src/os/path_test.go index 4535abbc52..59f7283485 100644 --- a/src/os/path_test.go +++ b/src/os/path_test.go @@ -96,13 +96,8 @@ func TestMkdirAllWithSymlink(t *testing.T) { func TestMkdirAllAtSlash(t *testing.T) { switch runtime.GOOS { - case "android", "plan9", "windows": + case "android", "ios", "plan9", "windows": t.Skipf("skipping on %s", runtime.GOOS) - case "darwin", "ios": - switch runtime.GOARCH { - case "arm64": - t.Skipf("skipping on darwin/arm64, mkdir returns EPERM") - } } RemoveAll("/_go_os_test") const dir = "/_go_os_test/dir"