SM: Rename and use one label generators
[platform/core/test/security-tests.git] / src / security-manager-tests / test_cases_dyntransition.cpp
index 76ab8ac..28b7a35 100644 (file)
@@ -59,7 +59,7 @@ static UidGidMsg readCreds(int pipefd0)
 
 static void testSetLabelForSelf(const char *app_id, bool expected_success)
 {
-    std::string label =  generateAppLabel(app_id);
+    std::string label =  generateProcessLabel(app_id);
     int result = smack_set_label_for_self(label.c_str());
     if (expected_success)
         RUNNER_ASSERT_MSG(result == 0, "smack_set_label_for_self(" << label <<