From d181885de8f718623b41d45f5cc8644bbd8ad318 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 21 Dec 2021 13:20:20 +0100 Subject: [PATCH] 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 --- src/os/path_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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" -- 2.50.0