]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Try to fix memarea test on 32-bit systems
authorNick Mathewson <nickm@torproject.org>
Thu, 16 Jun 2016 15:59:51 +0000 (11:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 16 Jun 2016 15:59:51 +0000 (11:59 -0400)
src/test/test_util.c

index d99cedf41a528d452304be1810c2672cbce62fcc..6090dbdd180840112ccfd63cb4259e08eb89bab7 100644 (file)
@@ -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;