Update test app name 58/202858/1
authorhj kim <backto.kim@samsung.com>
Fri, 5 Apr 2019 07:00:41 +0000 (16:00 +0900)
committerhj kim <backto.kim@samsung.com>
Fri, 5 Apr 2019 07:00:41 +0000 (16:00 +0900)
Change-Id: Ic5e26fcce016051b5c3feee63fac9272bb1a3a69

src/media_controller_util.c

index 8d15578..fe4fc43 100644 (file)
@@ -82,7 +82,7 @@ int mc_util_get_own_name(char **name)
        if (AUL_R_OK != aul_app_get_appid_bypid(pid, temp, sizeof(temp))) {
 #ifdef UNIT_TEST
                mc_error("Fix the name of the unit-tests!");
-               *name = g_strdup("org.tizen.testsuites");
+               *name = g_strdup_printf("%s_%ld", "org.tizen.testsuites", time(NULL));
                return MEDIA_CONTROLLER_ERROR_NONE;
 #else
                mc_error("Error failed to get appid!");