The app installation fails because for local installations security-manager
expects that a user's directory in /home exists (/home/tizenglobalapp). In case
of global user there's no such directory. It's not a matter of authentication
but directory existence. Test has been updated to expect
SECURITY_MANAGER_ERROR_SERVER_ERROR rather than
SECURITY_MANAGER_ERROR_AUTHENTICATION_FAILED.
Change-Id: Iee34f5010731a3c0c45c92aa574b5266113e65c8
requestInst.setPkgId(sm_pkg_id);
requestInst.setInstallType(SM_APP_INSTALL_LOCAL);
- Api::install(requestInst, (lib_retcode)SECURITY_MANAGER_ERROR_AUTHENTICATION_FAILED);
+ Api::install(requestInst, (lib_retcode)SECURITY_MANAGER_ERROR_SERVER_ERROR);
}
RUNNER_TEST(security_manager_49c_global_user_set_install_type_preloaded)