From f994f0a3424b235c48f68beef7817f245fc0a47c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 5 Jan 2012 13:12:26 +0100 Subject: Fix the local-memcache test for 64-bit The memcache test walks the purge functionality. The maximum memcache size also takes all memcache internal headers into account. Those headers contain pointers, so on 64-bit they take more space... Autobuild-User: Volker Lendecke Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104 --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 8535333a28..8bc9cefeef 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -8314,7 +8314,7 @@ static bool run_local_memcache(int dummy) size_t size1, size2; bool ret = false; - cache = memcache_init(NULL, 100); + cache = memcache_init(NULL, sizeof(void *) == 8 ? 200 : 100); if (cache == NULL) { printf("memcache_init failed\n"); -- cgit