aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec')
-rw-r--r--src/os/exec/exec_posix_test.go5
1 files changed, 5 insertions, 0 deletions
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)