summaryrefslogtreecommitdiff
path: root/test/sys/test_wait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys/test_wait.rs')
-rw-r--r--test/sys/test_wait.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_wait.rs b/test/sys/test_wait.rs
index d07d82f0..d61c2a1c 100644
--- a/test/sys/test_wait.rs
+++ b/test/sys/test_wait.rs
@@ -94,6 +94,7 @@ mod ptrace {
#[test]
fn test_wait_ptrace() {
+ require_capability!(CAP_SYS_PTRACE);
let _m = ::FORK_MTX.lock().expect("Mutex got poisoned by another test");
match fork().expect("Error: Fork Failed") {