[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 6ceb37971ef863af8971ee69c1717ca8dbcda00b
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits