[common][iotcon][smack rule is added for testing between serverwgt and tct] 74/134174/1
authoryuanzhongyuan <zy123.yuan@samsung.com>
Thu, 15 Jun 2017 06:23:44 +0000 (14:23 +0800)
committeryuanzhongyuan <zy123.yuan@samsung.com>
Thu, 15 Jun 2017 06:23:44 +0000 (14:23 +0800)
Change-Id: I33209c1e2b6f8751a8b99fa9c457f3a0189d4477

common/tct-iotcon-tizen-tests/inst.wgt.py

index 115d0c687af1c9ca5cf8306ffa85d7bc204edddd..2a5d8ad03ba296b13a1a6cfc9299c52849f2ae22 100755 (executable)
@@ -164,7 +164,10 @@ def instPKGs():
                     if "Failure" in line:
                         action_status = False
                         break
-
+    (return_code, output) = doRemoteCMD( 
+        "'echo \"User::Pkg::pE1iK1HIYO User::Pkg::apiIotcon1 w\" | smackload'")
+    (return_code, output) = doRemoteCMD(
+        "'echo \"User::Pkg::apiIotcon1 User::Pkg::pE1iK1HIYO w\" | smackload'")
     # Do some special copy/delete... steps
     if not doRemoteCopy(os.path.join(SCRIPT_DIR, "server"), "/home/owner/share"):
         action_status = False