aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/exec_linux_test.go')
-rw-r--r--src/syscall/exec_linux_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syscall/exec_linux_test.go b/src/syscall/exec_linux_test.go
index a7af00d2c0..976275e1dc 100644
--- a/src/syscall/exec_linux_test.go
+++ b/src/syscall/exec_linux_test.go
@@ -582,6 +582,9 @@ func TestPidFD(t *testing.T) {
func TestPidFDWithUserNS(t *testing.T) {
if err := testPidFD(t, true); err != nil {
+ if testenv.SyscallIsNotSupported(err) {
+ t.Skip("userns not supported:", err)
+ }
t.Fatal("can't start a process:", err)
}
}