summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/strace.c b/strace.c
index 3ad037d..1097b0c 100644
--- a/strace.c
+++ b/strace.c
@@ -1285,6 +1285,10 @@ test_ptrace_setoptions_for_all(void)
int pid;
int it_worked = 0;
+ /* this fork test doesn't work on no-mmu systems */
+ if (strace_vforked)
+ return;
+
pid = fork();
if (pid < 0)
perror_msg_and_die("fork");