From 27e9e3fd3f701fc96121d1f1e3602461c96f6bf9 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 8 Aug 2024 06:46:32 +0000 Subject: [PATCH] * test/testshm.c (test_named_perms): Skip on Mac OS X, hangs in CI and fails manually, see dev@apr msgid . git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1919728 13f79535-47bb-0310-9956-ffa450edef68 --- test/testshm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/testshm.c b/test/testshm.c index d17a28c883..10e3768636 100644 --- a/test/testshm.c +++ b/test/testshm.c @@ -287,6 +287,7 @@ static void test_named_delete(abts_case *tc, void *data) static void test_named_perms(abts_case *tc, void *data) { +#ifndef DARWIN apr_status_t rv; apr_shm_t *shm; apr_uid_t uid; @@ -313,6 +314,10 @@ static void test_named_perms(abts_case *tc, void *data) ABTS_SKIP(tc, data, "apr_shm_perms_set not implemented for named shm"); else APR_ASSERT_SUCCESS(tc, "Could not change permissions of shm segment", rv); +#else + /* The apr_shm_perms_set() call fails or hangs on MacOS. */ + ABTS_SKIP(tc, data, "Skipping apr_shm_perms_set() test"); +#endif } #endif