summaryrefslogtreecommitdiff
path: root/test/sys/test_ptrace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys/test_ptrace.rs')
-rw-r--r--test/sys/test_ptrace.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_ptrace.rs b/test/sys/test_ptrace.rs
index 953ea5fa..02f9bf2d 100644
--- a/test/sys/test_ptrace.rs
+++ b/test/sys/test_ptrace.rs
@@ -55,6 +55,7 @@ fn test_ptrace_cont() {
use nix::sys::wait::{waitpid, WaitStatus};
use nix::unistd::fork;
use nix::unistd::ForkResult::*;
+
// FIXME: qemu-user doesn't implement ptrace on all arches and gives ENOSYS then.
// use it to filter out the affected platforms
let err = ptrace::attach(getpid()).unwrap_err();