We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 761db3e commit 6bdca82Copy full SHA for 6bdca82
misc/cgo/test/cgo_linux_test.go
@@ -5,6 +5,7 @@
5
package cgotest
6
7
import (
8
+ "os"
9
"runtime"
10
"testing"
11
)
@@ -13,13 +14,19 @@ func TestSetgid(t *testing.T) {
13
14
if runtime.GOOS == "android" {
15
t.Skip("unsupported on Android")
16
}
17
+ if _, err := os.Stat("/etc/alpine-release"); err == nil {
18
+ t.Skip("setgid is broken with musl libc - go.dev/issue/39857")
19
+ }
20
testSetgid(t)
21
22
23
func TestSetgidStress(t *testing.T) {
24
25
26
27
28
29
30
testSetgidStress(t)
31
32
0 commit comments