diff options
author | Mark H Weaver <mhw@netris.org> | 2015-07-15 15:10:32 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-07-15 15:10:32 -0400 |
commit | 35995769b516d228793940c5333ad522de992a6c (patch) | |
tree | 366b81995e9afbf8f94ecf7d4237b325ec07a0a1 /tests/syscalls.scm | |
parent | c6f909809aecb225b66dc27e4afd3ff46ec31a38 (diff) | |
parent | e03f6d5e956b348c142d0ffd9f89af845f05eb86 (diff) | |
download | guix-35995769b516d228793940c5333ad522de992a6c.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'tests/syscalls.scm')
-rw-r--r-- | tests/syscalls.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/syscalls.scm b/tests/syscalls.scm index 8598f747f1..6b614a5211 100644 --- a/tests/syscalls.scm +++ b/tests/syscalls.scm @@ -80,6 +80,8 @@ (define (user-namespace pid) (string-append "/proc/" (number->string pid) "/ns/user")) +(unless (file-exists? (user-namespace (getpid))) + (test-skip 1)) (test-assert "clone" (match (clone (logior CLONE_NEWUSER SIGCHLD)) (0 (primitive-exit 42)) @@ -91,6 +93,8 @@ ((_ . status) (= 42 (status:exit-val status)))))))) +(unless (file-exists? (user-namespace (getpid))) + (test-skip 1)) (test-assert "setns" (match (clone (logior CLONE_NEWUSER SIGCHLD)) (0 (primitive-exit 0)) @@ -118,6 +122,8 @@ (waitpid fork-pid) result)))))))) +(unless (file-exists? (user-namespace (getpid))) + (test-skip 1)) (test-assert "pivot-root" (match (pipe) ((in . out) |