X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fclient%2Foma-ds%2Foma_ds_client.c;h=a091f9e09a9901cb987494296ff727dd22e3c92c;hb=ea0501d963b941fcba91dbe8fed530fefa45486f;hp=0022ceb92174562107c773d753b2352c69d280e8;hpb=919b1fb47f15418232488c25537b6779e8d0e344;p=platform%2Fcore%2Fsystem%2Fsync-agent.git diff --git a/test/client/oma-ds/oma_ds_client.c b/test/client/oma-ds/oma_ds_client.c index 0022ceb..a091f9e 100755 --- a/test/client/oma-ds/oma_ds_client.c +++ b/test/client/oma-ds/oma_ds_client.c @@ -373,6 +373,9 @@ static gboolean __test_delete_profile() if (result == SYNC_AGENT_DS_SUCCESS) { _DEBUG_VERBOSE("Success to delete profile!"); is_test_successful = TRUE; + } else if (result == SYNC_AGENT_DS_SYNCHRONISING) { + _DEBUG_VERBOSE("profile is synchronising!!"); + is_test_successful = FALSE; } else { _DEBUG_VERBOSE("Failed to delete profile!"); is_test_successful = FALSE; @@ -774,6 +777,8 @@ static gboolean __test_start_sync() sync_agent_ds_free_profile_info(profile_h); _INNER_FUNC_EXIT; + + return is_test_successful; } static gboolean __test_stop_sync() @@ -815,6 +820,8 @@ static gboolean __test_stop_sync() sync_agent_ds_free_profile_info(profile_h); _INNER_FUNC_EXIT; + + return is_test_successful; } int _session_process_noti_cb(sync_agent_event_data_s * request, void *data)