Skip to content

Commit

Permalink
* test/testshm.c (test_named_perms): Skip on Mac OS X, hangs in CI
Browse files Browse the repository at this point in the history
  and fails manually, see dev@apr msgid <CALK=YjNNbfcTcxKm4YiVGS+1aOPTaL3-c8TqhWZLqkyR0PRWVg@mail.gmail.com>.


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1919728 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
notroj committed Aug 8, 2024
1 parent 5d196bf commit 27e9e3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/testshm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 27e9e3f

Please sign in to comment.