apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r552360 - /apr/apr/trunk/test/testatomic.c
Date Sun, 01 Jul 2007 20:09:47 GMT
Author: davi
Date: Sun Jul  1 13:09:47 2007
New Revision: 552360

URL: http://svn.apache.org/viewvc?view=rev&rev=552360
Log:
Fix assertion message, function tests apr_atomic_inc32(-1).

Modified:
    apr/apr/trunk/test/testatomic.c

Modified: apr/apr/trunk/test/testatomic.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testatomic.c?view=diff&rev=552360&r1=552359&r2=552360
==============================================================================
--- apr/apr/trunk/test/testatomic.c (original)
+++ apr/apr/trunk/test/testatomic.c Sun Jul  1 13:09:47 2007
@@ -202,7 +202,7 @@
 
     rv = apr_atomic_inc32(&y32);
 
-    ABTS_ASSERT(tc, "apr_atomic_dec32 on zero returned zero.", rv == minus1);
+    ABTS_ASSERT(tc, "apr_atomic_inc32 didn't return the old value.", rv == minus1);
     str = apr_psprintf(p, "zero wrap failed: -1 + 1 = %d", y32);
     ABTS_ASSERT(tc, str, y32 == 0);
 }



Mime
View raw message