[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r1914774 - in /apr/apr-util/branches/1.6.x: ./ test/testutil.h
From:       jorton () apache ! org
Date:       2023-12-19 11:20:33
Message-ID: 20231219112033.F321817A15F () svn01-us-east ! apache ! org
[Download RAW message or body]

Author: jorton
Date: Tue Dec 19 11:20:33 2023
New Revision: 1914774

URL: http://svn.apache.org/viewvc?rev=1914774&view=rev
Log:
Merge r1914772 from 1.7.x:

* test/testutil.h: Define APR_ASSERT_SUCCESS for compatibility
  with apr trunk.


Modified:
    apr/apr-util/branches/1.6.x/   (props changed)
    apr/apr-util/branches/1.6.x/test/testutil.h

Propchange: apr/apr-util/branches/1.6.x/
------------------------------------------------------------------------------
  Merged /apr/apr-util/branches/1.7.x:r1914772

Modified: apr/apr-util/branches/1.6.x/test/testutil.h
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/test/testutil.h?rev=1914774&r1=1914773&r2=1914774&view=diff
 ==============================================================================
--- apr/apr-util/branches/1.6.x/test/testutil.h (original)
+++ apr/apr-util/branches/1.6.x/test/testutil.h Tue Dec 19 11:20:33 2023
@@ -40,6 +40,8 @@ extern apr_pool_t *p;
 /* Assert that RV is an APR_SUCCESS value; else fail giving strerror
  * for RV and CONTEXT message. */
 void apr_assert_success(abts_case* tc, const char *context, apr_status_t rv);
+#define APR_ASSERT_SUCCESS(tc, ctxt, rv) \
+             apr_assert_success(tc, ctxt, rv)
 
 void apr_assert_failure(abts_case* tc, const char *context,
                         apr_status_t rv, int lineno);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic