summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-16 20:05:51 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-16 20:05:56 (GMT)
commita710f82b67d690bf732f81ff652690d4b7b84d47 (patch)
tree850f94c65ca8f83b44da847d95593891f8e0f00c
parent6449cfcf3e58e05a101531cf612a658817c498a5 (diff)
don't skip the test
-rw-r--r--test/misc/tst-preadvwritev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/misc/tst-preadvwritev.c b/test/misc/tst-preadvwritev.c
index e9818d4..714bbe0 100644
--- a/test/misc/tst-preadvwritev.c
+++ b/test/misc/tst-preadvwritev.c
@@ -39,8 +39,6 @@ do_prepare (void)
}
}
-#if defined(preadv) && defined(pwritev)
-
#define FAIL(str) \
do { printf ("error: %s (line %d)\n", str, __LINE__); return 1; } while (0)
@@ -112,14 +110,9 @@ do_test_with_offset (off_t offset)
return 0;
}
-#endif
static int
do_test (void)
{
-#if defined(preadv) && defined(pwritev)
return do_test_with_offset (0);
-#else
- return 23;
-#endif
}