From: Nick Mathewson Date: Thu, 16 Jun 2016 15:59:51 +0000 (-0400) Subject: Try to fix memarea test on 32-bit systems X-Git-Tag: tor-0.2.9.1-alpha~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ceb37971ef863af8971ee69c1717ca8dbcda00b;p=thirdparty%2Ftor.git Try to fix memarea test on 32-bit systems --- diff --git a/src/test/test_util.c b/src/test/test_util.c index d99cedf41a..6090dbdd18 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;