X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de2f1c1df519abbc80c22d626d806ab7a47bf0a8..73d53de1c9a9a2b536522d0d2e04031276941caf:/testsuite/xbt/multidict_crash.c diff --git a/testsuite/xbt/multidict_crash.c b/testsuite/xbt/multidict_crash.c index 5aec582afb..c730666887 100644 --- a/testsuite/xbt/multidict_crash.c +++ b/testsuite/xbt/multidict_crash.c @@ -54,12 +54,12 @@ static gras_error_t test1() { key[l]=val[l];// NOWADAYS, no need to strdup the key. } if (verbose) printf("in multitree %p.\n",head); - TRYFAIL(gras_multidict_insert(&head,MULTICACHE_DEPTH,key, - strdup(val[0]),&free)); + TRYFAIL(gras_multidict_set(&head,MULTICACHE_DEPTH,key, + strdup(val[0]),&free)); - TRYFAIL(gras_multidict_retrieve(head, - MULTICACHE_DEPTH,(const char **)val, - &data)); + TRYFAIL(gras_multidict_get(head, + MULTICACHE_DEPTH,(const char **)val, + &data)); if (!data || strcmp((char*)data,val[0])) { fprintf(stderr,"Retrieved value (%s) does not match the entrered one (%s)\n", (char*)data,val[0]);