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
change mismatch_error to not_found_error where appropriate
[simgrid.git]
/
testsuite
/
xbt
/
config_usage.c
diff --git
a/testsuite/xbt/config_usage.c
b/testsuite/xbt/config_usage.c
index
f4e1eae
..
47736a0
100644
(file)
--- a/
testsuite/xbt/config_usage.c
+++ b/
testsuite/xbt/config_usage.c
@@
-99,9
+99,9
@@
int main(int argc, char **argv) {
xbt_cfg_t myset=make_set();
TRY {
xbt_cfg_set_parse(myset,"color:blue");
xbt_cfg_t myset=make_set();
TRY {
xbt_cfg_set_parse(myset,"color:blue");
- THROW1(
unknown
_error,0,"Found an option which shouldn't be there (%s)","color:blue");
+ THROW1(
mismatch
_error,0,"Found an option which shouldn't be there (%s)","color:blue");
} CATCH(e) {
} CATCH(e) {
- if (e.category !=
mismatch
_error)
+ if (e.category !=
not_found
_error)
RETHROW;
xbt_ex_free(e);
}
RETHROW;
xbt_ex_free(e);
}