diff options
author | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-30 10:37:57 +0000 |
---|---|---|
committer | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2004-06-30 10:37:57 +0000 |
commit | e3087bf9a2cd6ed2576217ee6f90eeba6bb8b008 (patch) | |
tree | 7cbcb72b346b62a9d52ed5eeb5404c1a3de1d9da | |
parent | 79d976e8f919fdd2c52dd44254466b6984e7cfba (diff) | |
download | libapr-e3087bf9a2cd6ed2576217ee6f90eeba6bb8b008.tar.gz |
The failure to delete the conditional lock ws causing a hang on BeOS, so
delete the lock when we're done and all is well again.
As the tests don't run in isolation there may be other places we should
clean up better.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65245 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testlock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testlock.c b/test/testlock.c index 9c8a14dfc..6fef9b713 100644 --- a/test/testlock.c +++ b/test/testlock.c @@ -298,6 +298,8 @@ static void test_timeoutcond(abts_case *tc, void *data) break; } ABTS_ASSERT(tc, "Too many retries", i < MAX_RETRY); + APR_ASSERT_SUCCESS(tc, "Unable to destroy the conditional", + apr_thread_cond_destroy(timeout_cond)); } #endif /* !APR_HAS_THREADS */ |