diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-16 11:59:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-16 11:59:51 -0400 |
commit | 6ceb37971ef863af8971ee69c1717ca8dbcda00b (patch) | |
tree | 08574577da09c094ef5472a5f252c595bf225220 | |
parent | 5c596cdbc086698c52824a4cc9f93753f7d7a24b (diff) | |
download | tor-6ceb37971ef863af8971ee69c1717ca8dbcda00b.tar.gz tor-6ceb37971ef863af8971ee69c1717ca8dbcda00b.zip |
Try to fix memarea test on 32-bit systems
-rw-r--r-- | src/test/test_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |