summaryrefslogtreecommitdiff
path: root/test/signal
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-16 05:37:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-16 05:37:55 +0000
commit9a84c1eae1c66c6d423a988e814937401bd3e1b1 (patch)
treef2599284d7e8cc7de86149e2c5bf0146b0e1c399 /test/signal
parent54e81d21e857dacf1a3e888302bd66756433c2f2 (diff)
disable test on non-mmu host
Diffstat (limited to 'test/signal')
-rw-r--r--test/signal/sigchld.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/signal/sigchld.c b/test/signal/sigchld.c
index ad2970624..10a631eda 100644
--- a/test/signal/sigchld.c
+++ b/test/signal/sigchld.c
@@ -14,6 +14,8 @@ void test_handler(int signo)
}
+#ifdef __UCLIBC_HAS_MMU__
+
int main(void)
{
pid_t mypid;
@@ -57,3 +59,12 @@ int main(void)
return 0;
}
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 0;
+}
+
+#endif