- xbt_assert1(!strncmp(e.msg,"Some error we will catch on client side",
- strlen("Some error we will catch on client side")),
- "Got wrong message: %s", e.msg);
- xbt_assert2(e.category == unknown_error,
- "Got wrong category: %d (instead of %d)",
- e.category,unknown_error);
- INFO0("Got the expected exception when calling the exception raising RPC");
+ xbt_assert1(!strncmp(e.msg, exception_msg, strlen(exception_msg)),
+ "Got wrong message: %s", e.msg);
+ xbt_assert2(e.category == unknown_error,
+ "Got wrong category: %d (instead of %d)",
+ e.category, unknown_error);
+ INFO0
+ ("Got the expected exception when calling the exception raising RPC");