security-manager-tests: fix security_manager_19_security_manager_cmd_install 66/63566/1
authorRafal Krypa <r.krypa@samsung.com>
Fri, 4 Mar 2016 10:13:27 +0000 (11:13 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 24 Mar 2016 13:12:32 +0000 (14:12 +0100)
Adapt to security-manager-cmd changed path types.

Change-Id: Iaa4c5d83f2e733e0ceac15a87de903af97fc24b1

src/security-manager-tests/security_manager_tests.cpp

index e57359d..d8025b8 100644 (file)
@@ -2239,11 +2239,11 @@ RUNNER_CHILD_TEST(security_manager_19_security_manager_cmd_install)
             {"security-manager-cmd --i --app=app_id_10 --pkg=pkg_id_10", FAILURE},//no uid
             {installcmd, SUCCESS},
             {"security-manager-cmd -i -a" + app_id + " -g" + pkg_id + uidopt, SUCCESS},
-            {installcmd + " --path " + path1 + " writable", SUCCESS},
+            {installcmd + " --path " + path1 + " rw", SUCCESS},
             {installcmd + " --path " + path1, FAILURE},//no path type
-            {installcmd + " --path " + path1 + " writable" + " --path " + path2 + " readable", SUCCESS},
-            {installcmd + " --path " + path1 + " prie" + " --path " + path2 + " readable", FAILURE},//wrong path type
-            {installcmd + " --path " + path1 + " writable" + " --privilege somepriv --privilege somepriv2" , SUCCESS},
+            {installcmd + " --path " + path1 + " rw" + " --path " + path2 + " ro", SUCCESS},
+            {installcmd + " --path " + path1 + " prie" + " --path " + path2 + " ro", FAILURE},//wrong path type
+            {installcmd + " --path " + path1 + " rw" + " --privilege somepriv --privilege somepriv2" , SUCCESS},
     };
 
     for (auto &op : operations) {