Commit 06f4f27d authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_refer.c: not using assert(), found timing problem with Mr. C.

parent 937e7098
......@@ -530,7 +530,7 @@ int test_refer0(struct context *ctx, int refer_with_id, char const *tests)
TEST(e->data->e_status, 200);
TEST_1(e = e->next); TEST_E(e->data->e_event, nua_i_state);
TEST(callstate(e->data->e_tags), nua_callstate_terminated); /* TERMINATED */
assert(!e->next); TEST_1(!e->next);
free_events_in_list(ctx, c->events);
if (print_headings)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment