summaryrefslogtreecommitdiff
path: root/test/testrand.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2002-12-06 13:35:36 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2002-12-06 13:35:36 +0000
commit699fc992ed0499137db4f29d94751ee4669eb0dc (patch)
treea89c6c11863e4a3afb3ba43fa71cf963f09533ce /test/testrand.c
parent3a39d3cc7b9a98c636e49ae6bbfcda975aa709b1 (diff)
downloadlibapr-699fc992ed0499137db4f29d94751ee4669eb0dc.tar.gz
Use CuAssertSuccess for some rv==APR_SUCCESS checks which are currently
failing on various platforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64122 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testrand.c')
-rw-r--r--test/testrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testrand.c b/test/testrand.c
index 235442a06..43c176009 100644
--- a/test/testrand.c
+++ b/test/testrand.c
@@ -72,7 +72,7 @@ static void rand_exists(CuTest *tc)
*/
for (i = 1; i <= 8; i++) {
rv = apr_generate_random_bytes(c, i * 255);
- CuAssertIntEquals(tc, APR_SUCCESS, rv);
+ CuAssertSuccess(tc, "apr_generate_random_bytes failed", rv);
}
#endif
}