Fix libprivilege-control tests connected with perm_app_setup_path 01/18401/2
authorMarcin Lis <m.lis@samsung.com>
Mon, 24 Mar 2014 09:43:54 +0000 (10:43 +0100)
committerMarcin Lis <m.lis@samsung.com>
Mon, 24 Mar 2014 09:44:44 +0000 (10:44 +0100)
commitc3928cdc11249a3546a3c7ffbd9a0bbab23c5d60
tree832782fbe239df1739268ebff0f20f0c816f6d09
parent444dc15ebc6d91e884178b5d80f3011de4cde762
Fix libprivilege-control tests connected with perm_app_setup_path

[Issue#]       N/A
[Feature]      Adapt tests to tizen.org and new three domain policy.
[Cause]        Tests failing due to lack of privileges in libprivilege database.
[Solution]     Add required permissions to database.

[Verification] Build, install, run tests.

               The following test cases should pass:
                        <<   WITH SMACK   >>
                - privilege_control17_appsettings_privilege
                - privilege_control22_app_installation_1x100
                - privilege_control23_app_installation2_10x10
                        <<  WITHOUT SMACK >>
                - privilege_control17_appsettings_privilege_nosmack

Change-Id: Iefb388d4dfca1b1681c55ee8db87eb35a9109f73
Signed-off-by: Marcin Lis <m.lis@samsung.com>
tests/libprivilege-control-tests/common/libprivilege-control_test_common.h
tests/libprivilege-control-tests/libprivilege-control_test_common.cpp
tests/libprivilege-control-tests/test_cases_stress.cpp