svn commit: trunk/uClibc/test/unistd
vapier at uclibc.org
vapier at uclibc.org
Thu Feb 16 05:38:51 UTC 2006
Author: vapier
Date: 2006-02-15 21:38:50 -0800 (Wed, 15 Feb 2006)
New Revision: 14072
Log:
disable test on non-mmu host
Modified:
trunk/uClibc/test/unistd/fork.c
Changeset:
Modified: trunk/uClibc/test/unistd/fork.c
===================================================================
--- trunk/uClibc/test/unistd/fork.c 2006-02-16 05:37:55 UTC (rev 14071)
+++ trunk/uClibc/test/unistd/fork.c 2006-02-16 05:38:50 UTC (rev 14072)
@@ -32,6 +32,8 @@
#define GOT2 (1 << 2)
#define GOT3 (1 << 3)
+#ifdef __ARCH_HAS_MMU__
+
void child_handler(int sig)
{
fprintf(stderr, "I got a SIGCHLD\n");
@@ -86,6 +88,16 @@
return EXIT_SUCCESS;
}
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return EXIT_SUCCESS;
+}
+
+#endif
+
/*
Local Variables:
c-file-style: "linux"
More information about the uClibc-cvs
mailing list