1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
15 func TestSetgid(t *testing.T) {
16 if runtime.GOOS == "android" {
17 t.Skip("unsupported on Android")
19 if _, err := os.Stat("/etc/alpine-release"); err == nil {
20 t.Skip("setgid is broken with musl libc - go.dev/issue/39857")
25 func TestSetgidStress(t *testing.T) {
26 if runtime.GOOS == "android" {
27 t.Skip("unsupported on Android")
29 if _, err := os.Stat("/etc/alpine-release"); err == nil {
30 t.Skip("setgid is broken with musl libc - go.dev/issue/39857")
35 func Test1435(t *testing.T) { test1435(t) }
36 func Test6997(t *testing.T) { test6997(t) }
38 func Test9400(t *testing.T) {
39 if _, err := os.Stat("/etc/alpine-release"); err == nil {
40 t.Skip("setgid is broken with musl libc - go.dev/issue/39857")
45 func TestBuildID(t *testing.T) { testBuildID(t) }