A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document the gras_datadesc_t datatype
[simgrid.git]
/
testsuite
/
xbt
/
multidict_crash.c
diff --git
a/testsuite/xbt/multidict_crash.c
b/testsuite/xbt/multidict_crash.c
index
5aec582
..
c730666
100644
(file)
--- 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);
key[l]=val[l];// NOWADAYS, no need to strdup the key.
}
if (verbose) printf("in multitree %p.\n",head);
- TRYFAIL(gras_multidict_
inser
t(&head,MULTICACHE_DEPTH,key,
-
strdup(val[0]),&free));
+ TRYFAIL(gras_multidict_
se
t(&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]);
if (!data || strcmp((char*)data,val[0])) {
fprintf(stderr,"Retrieved value (%s) does not match the entrered one (%s)\n",
(char*)data,val[0]);