summaryrefslogtreecommitdiff
path: root/test/testlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlock.c')
-rw-r--r--test/testlock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testlock.c b/test/testlock.c
index 9fbf8c6bf..259c5beae 100644
--- a/test/testlock.c
+++ b/test/testlock.c
@@ -183,6 +183,10 @@ static void test_thread_rwlock(abts_case *tc, void *data)
apr_status_t s1, s2, s3, s4;
s1 = apr_thread_rwlock_create(&rwlock, p);
+ if (s1 == APR_ENOTIMPL) {
+ ABTS_NOT_IMPL(tc, "rwlocks not implemented");
+ return;
+ }
apr_assert_success(tc, "rwlock_create", s1);
ABTS_PTR_NOTNULL(tc, rwlock);