summaryrefslogtreecommitdiff
path: root/test/malloc/tst-valloc.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:13:25 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:13:25 +0200
commit7e8a80ea4406c9b18e2eedfde7e09a5711cca8d5 (patch)
tree42c1ad4f1ac7085e316365d630c815bcf9c17b54 /test/malloc/tst-valloc.c
parent05df1d32db889cdaea6307a6afb751d9fb7c0ce2 (diff)
tst-valloc: enable test, allow to be skipped
Diffstat (limited to 'test/malloc/tst-valloc.c')
-rw-r--r--test/malloc/tst-valloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/malloc/tst-valloc.c b/test/malloc/tst-valloc.c
index 643a0dd..752e107 100644
--- a/test/malloc/tst-valloc.c
+++ b/test/malloc/tst-valloc.c
@@ -6,6 +6,7 @@
int
main (void)
{
+#if __UCLIBC_SUSV2_LEGACY__
char *p;
int pagesize = getpagesize ();
int i;
@@ -20,4 +21,7 @@ main (void)
}
return 0;
+#else
+ return 23;
+#endif
}