Commit 35edc960 authored by Bryan C. Mills's avatar Bryan C. Mills Committed by Brad Fitzpatrick

cmd/go/internal/work: skip TestRespectSetgidDir on js.

chown is not implemented on js: see https://build.golang.org/log/43d7b12602660b786a6e080e685165193df0de00.

Change-Id: I3f461338825bb670d682c3f47b17ee1638343fc8
Reviewed-on: https://go-review.googlesource.com/c/154097
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 3331608c
...@@ -227,8 +227,8 @@ func TestRespectSetgidDir(t *testing.T) { ...@@ -227,8 +227,8 @@ func TestRespectSetgidDir(t *testing.T) {
if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" { if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {
t.Skip("can't set SetGID bit with chmod on iOS") t.Skip("can't set SetGID bit with chmod on iOS")
} }
case "windows", "plan9": case "windows", "plan9", "js":
t.Skip("chown/chmod setgid are not supported on Windows and Plan 9") t.Skip("chown/chmod setgid are not supported on Windows, Plan 9, or JS")
} }
var b Builder var b Builder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment