summaryrefslogtreecommitdiff
path: root/test/nptl/tst-fork3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-fork3.c')
-rw-r--r--test/nptl/tst-fork3.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/nptl/tst-fork3.c b/test/nptl/tst-fork3.c
index 434aa8f..defac30 100644
--- a/test/nptl/tst-fork3.c
+++ b/test/nptl/tst-fork3.c
@@ -24,6 +24,7 @@
#include <sys/wait.h>
#include "../test-skeleton.h"
+#ifdef __ARCH_USE_MMU__
static pid_t initial_pid;
@@ -105,3 +106,13 @@ main (void)
return 1;
}
+
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 23;
+}
+
+#endif