diff options
author | Volker Lendecke <vl@samba.org> | 2012-01-05 13:12:26 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2012-01-05 22:01:00 +0100 |
commit | f994f0a3424b235c48f68beef7817f245fc0a47c (patch) | |
tree | 756031777e0b8257160908fa13baa5076b3cac1f /source3/torture | |
parent | c790b3c8a76542f06f3ced640500969aaa68a4fe (diff) | |
download | samba-f994f0a3424b235c48f68beef7817f245fc0a47c.tar.gz samba-f994f0a3424b235c48f68beef7817f245fc0a47c.tar.bz2 samba-f994f0a3424b235c48f68beef7817f245fc0a47c.zip |
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 <vlendec@samba.org>
Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |