Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/cmocka_telephony_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ static void TestTeleFunc_SimUnlockPin(void** state)
{
(void)state;
int ret = tapi_sim_unlock_pin_test(0);
sleep(4);
assert_int_equal(ret, OK);
}

Expand Down
2 changes: 1 addition & 1 deletion test/telephony_network_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int tapi_net_select_manual_test(int slot_id, char* mcc, char* mnc, char* tech)
int res = 0;
judge_data_init();
judge_data.expect = EVENT_REGISTER_MANUAL_DONE;
tapi_operator_info* network_info = malloc(sizeof(tapi_operator_info));
tapi_operator_info* network_info = calloc(1, sizeof(tapi_operator_info));
if (network_info == NULL) {
syslog(LOG_ERR, "tapi_operator_info is null in %s", __func__);
return -ENOMEM;
Expand Down
Loading