dovecot-1.1: Use smaller test buffer sizes
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 29 04:59:04 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/5c683653d962
changeset: 7307:5c683653d962
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 29 05:01:53 2008 +0200
description:
Use smaller test buffer sizes
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/tests/test-lib.c | 4 ++--
diffs (21 lines):
diff -r b7d55cccc7f4 -r 5c683653d962 src/tests/test-lib.c
--- a/src/tests/test-lib.c Fri Feb 29 04:23:58 2008 +0200
+++ b/src/tests/test-lib.c Fri Feb 29 05:01:53 2008 +0200
@@ -131,7 +131,7 @@ static void test_bsearch_insert_pos(void
static void test_buffer(void)
{
-#define BUF_TEST_SIZE (1024*64)
+#define BUF_TEST_SIZE (1024*2)
#define BUF_TEST_COUNT 1000
buffer_t *buf;
unsigned char *p, testdata[BUF_TEST_SIZE], shadowbuf[BUF_TEST_SIZE];
@@ -463,7 +463,7 @@ static void test_priorityq(void)
static void test_seq_range_array_random(void)
{
-#define SEQ_RANGE_TEST_BUFSIZE 1024
+#define SEQ_RANGE_TEST_BUFSIZE 20
#define SEQ_RANGE_TEST_COUNT 10000
unsigned char shadowbuf[SEQ_RANGE_TEST_BUFSIZE];
ARRAY_TYPE(seq_range) range;
More information about the dovecot-cvs
mailing list