X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d0d626e19a7b79320e7d922c9c1dcf122076cea..0447db21f56b3586a6b8f004c2bfbdb71d0d90a0:/testsuite/xbt/dict_crash.c diff --git a/testsuite/xbt/dict_crash.c b/testsuite/xbt/dict_crash.c index 124f3ee464..8c4b79b99b 100644 --- a/testsuite/xbt/dict_crash.c +++ b/testsuite/xbt/dict_crash.c @@ -13,7 +13,7 @@ #include #include -#define NB_ELM 20000 +#define NB_ELM 200000 #define SIZEOFKEY 1024 static void print_str(void *str); @@ -64,7 +64,7 @@ int main(int argc,char **argv) { printf(" (a point is a test)\n"); for (i=0;i<20;i++) { - gras_dict_new(&head); + head=gras_dict_new(); if (i%10) printf("."); else printf("%d",i/10); fflush(stdout); nb=0; for (j=0;j<1000;j++) { @@ -91,7 +91,7 @@ int main(int argc,char **argv) { } - gras_dict_new(&head); + head=gras_dict_new(); printf("\n Fill 20 000 elements, with keys being the number of element\n"); printf(" (a point is 1 000 elements)\n"); for (j=0;j