diff options
Diffstat (limited to 'test/testfile.c')
-rw-r--r-- | test/testfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testfile.c b/test/testfile.c index f48e38857..591f7acb5 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -2240,7 +2240,11 @@ static void test_datasync_on_stream(abts_case *tc, void *data) APR_ASSERT_SUCCESS(tc, "write to stdout", rv); rv = apr_file_datasync(f); if (rv != APR_SUCCESS) { +#if defined(__APPLE__) + ABTS_INT_EQUAL(tc, ENOTSUP, rv); +#else ABTS_INT_EQUAL(tc, APR_EINVAL, rv); +#endif } } |