summaryrefslogtreecommitdiff
path: root/test/sys/test_uio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys/test_uio.rs')
-rw-r--r--test/sys/test_uio.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs
index 4fa838c9..8d22bf17 100644
--- a/test/sys/test_uio.rs
+++ b/test/sys/test_uio.rs
@@ -203,6 +203,7 @@ fn test_process_vm_readv() {
use nix::unistd::ForkResult::*;
use nix::sys::signal::*;
use nix::sys::wait::*;
+ use crate::*;
require_capability!(CAP_SYS_PTRACE);
let _ = crate::FORK_MTX.lock().expect("Mutex got poisoned by another test");