You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by dr...@apache.org on 2004/06/30 12:37:57 UTC
cvs commit: apr/test testlock.c
dreid 2004/06/30 03:37:57
Modified: test testlock.c
Log:
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.
Revision Changes Path
1.31 +2 -0 apr/test/testlock.c
Index: testlock.c
===================================================================
RCS file: /home/cvs/apr/test/testlock.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- testlock.c 7 Jun 2004 21:21:35 -0000 1.30
+++ testlock.c 30 Jun 2004 10:37:57 -0000 1.31
@@ -298,6 +298,8 @@
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 */