Fix security_manager_67_path_req_shared_ro_3_0 test case. 46/70546/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 19 May 2016 10:05:31 +0000 (12:05 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 19 May 2016 10:05:31 +0000 (12:05 +0200)
The test case should allow for Tizen 3.0 app to have data/shared directory;
there should be no Smack rules to other application's data/shared directory.

Change-Id: I3f00ec55d649d116f75ce2ae4c69573ed62d08d1

src/security-manager-tests/security_manager_tests.cpp

index 9e62d0a..1c4637b 100644 (file)
@@ -4353,7 +4353,7 @@ RUNNER_TEST(security_manager_67_path_req_shared_ro_3_0)
     preq.setUid(user.getUid());
     preq.addPath(path, SECURITY_MANAGER_PATH_OWNER_RW_OTHER_RO);
 
-    Api::registerPaths(preq, (lib_retcode)SECURITY_MANAGER_ERROR_INPUT_PARAM);
+    Api::registerPaths(preq, (lib_retcode)SECURITY_MANAGER_SUCCESS);
 }
 
 RUNNER_TEST(security_manager_68_path_req_shared_ro_2_X)