update it

This commit is contained in:
Sukchan Lee 2017-04-10 23:00:06 +09:00
parent e4c6c8cf56
commit e4f52d6ba6
2 changed files with 9 additions and 1 deletions

View File

@ -67,6 +67,14 @@ static void check_locks(abts_case *tc, void *data)
ABTS_INT_EQUAL(tc, 40000, x);
}
static void final_thread(abts_case *tc, void *data)
{
status_t rv;
rv = mutex_delete(lock);
ABTS_INT_EQUAL(tc, CORE_OK, rv);
}
abts_suite *testthread(abts_suite *suite)
{
suite = ADD_SUITE(suite)
@ -75,6 +83,7 @@ abts_suite *testthread(abts_suite *suite)
abts_run_test(suite, create_threads, NULL);
abts_run_test(suite, join_threads, NULL);
abts_run_test(suite, check_locks, NULL);
abts_run_test(suite, final_thread, NULL);
return suite;
}

View File

@ -96,7 +96,6 @@ void sgw_state_operational(sgw_sm_t *s, event_t *e)
case EVT_TM_SGW_T3:
{
index_t index = (index_t)event_get_param1(e);
printf("index = %d\n", index);
d_assert(index, break, "Null param");
gtp_xact_timeout(index);