summaryrefslogtreecommitdiff
path: root/test/testlock.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-09-15 01:00:48 +0000
committerRyan Bloom <rbb@apache.org>2001-09-15 01:00:48 +0000
commit702ade51f422ff22f8754926c6d0c9aa9965dd37 (patch)
tree4157b90f6962b8ba420669f6c3dad675db9ac921 /test/testlock.c
parente7299b2298ff27a97d779978cbf7999809e0592c (diff)
downloadapr-702ade51f422ff22f8754926c6d0c9aa9965dd37.tar.gz
I accidentally commented out this function in my last commit.
This puts it back in, but it also makes a failure non-terminal. Read/write locks were not implemented for the old API on Windows, but they are using the new API, so this failure can't be terminal, because if it is, the new API isn't tested. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62328 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testlock.c')
-rw-r--r--test/testlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/testlock.c b/test/testlock.c
index 78e806faf..1fa773690 100644
--- a/test/testlock.c
+++ b/test/testlock.c
@@ -610,12 +610,11 @@ int main(int argc, const char * const *argv)
rv, apr_strerror(rv, (char*)errmsg, 200));
exit(-3);
}
- /*
+
if ((rv = test_rw()) != APR_SUCCESS) {
fprintf(stderr,"RW Lock test failed : [%d] %s\n",
rv, apr_strerror(rv, (char*)errmsg, 200));
- exit(-4);
- }*/
+ }
if ((rv = test_thread_mutex()) != APR_SUCCESS) {
fprintf(stderr,"thread_mutex test failed : [%d] %s\n",