[tor-commits] [tor/master] Try to fix memarea test on 32-bit systems

nickm at torproject.org nickm at torproject.org
Thu Jun 16 15:59:55 UTC 2016


commit 6ceb37971ef863af8971ee69c1717ca8dbcda00b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jun 16 11:59:51 2016 -0400

    Try to fix memarea test on 32-bit systems
---
 src/test/test_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c
index d99cedf..6090dbd 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -2876,7 +2876,7 @@ test_util_memarea(void *arg)
   memarea_get_stats(area, &initial_allocation, &dummy);
 
   /* Check for running over an area's size. */
-  for (i = 0; i < 512; ++i) {
+  for (i = 0; i < 4096; ++i) {
     size_t n = crypto_rand_int(6);
     p1 = memarea_alloc(area, n);
     total += n;



More information about the tor-commits mailing list