X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fhash-test.c;h=2f83561352de834bb4fcbcf49c6e390b3f28830d;hb=3f29125f27f7ee82281e49fef16ad32811cc3dcc;hp=c03d9fa40736c5dd4eb78c96ed1987232b6feed6;hpb=b23db618057b5aa8905c41df963d6fa865d82c8c;p=libucw.git diff --git a/lib/hash-test.c b/lib/hash-test.c index c03d9fa4..2f835613 100644 --- a/lib/hash-test.c +++ b/lib/hash-test.c @@ -5,7 +5,7 @@ #include #include -#if 1 +#if 0 /* TEST 1: integers */ @@ -111,7 +111,7 @@ static void test(void) log(L_INFO, "OK"); } -#elif 0 +#elif 1 /* TEST 3: internal strings + pools */ @@ -141,13 +141,13 @@ static void test(void) pool = mp_new(16384); test_init(); - for (i=0; i<1024; i+=2) + for (i=0; i<1048576; i+=2) { char x[32]; sprintf(x, "abc%d", i); test_new(x); } - for (i=0; i<1024; i++) + for (i=0; i<1048576; i++) { char x[32]; struct node *n;