diff --git a/src/os/exec/exec_posix_test.go b/src/os/exec/exec_posix_test.go index 46799cdbdb..d4d67ac933 100644 --- a/src/os/exec/exec_posix_test.go +++ b/src/os/exec/exec_posix_test.go @@ -8,6 +8,7 @@ package exec_test import ( "os/user" + "runtime" "strconv" "syscall" "testing" @@ -15,6 +16,10 @@ import ( ) func TestCredentialNoSetGroups(t *testing.T) { + if runtime.GOOS == "android" { + t.Skip("unsupported on Android") + } + u, err := user.Current() if err != nil { t.Fatalf("error getting current user: %v", err)