diff options
author | Davi Arnaut <davi@apache.org> | 2007-07-01 20:09:47 +0000 |
---|---|---|
committer | Davi Arnaut <davi@apache.org> | 2007-07-01 20:09:47 +0000 |
commit | 99807ceaf5fb18803b0742184c3fdd359c4a9284 (patch) | |
tree | e88db698793127a00fafa5467eb121e43870c482 | |
parent | 8e8fdb279b054f6c0e2c993af540b1e2478cdd93 (diff) | |
download | apr-99807ceaf5fb18803b0742184c3fdd359c4a9284.tar.gz |
Fix assertion message, function tests apr_atomic_inc32(-1).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@552360 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testatomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testatomic.c b/test/testatomic.c index fff0fa937..d39242db8 100644 --- a/test/testatomic.c +++ b/test/testatomic.c @@ -202,7 +202,7 @@ static void test_inc_neg1(abts_case *tc, void *data) 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); } |