Explorar el Código

Try to fix memarea test on 32-bit systems

Nick Mathewson hace 8 años
padre
commit
6ceb37971e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/test/test_util.c

+ 1 - 1
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;