[behavior-tv][csp][DPTTIZEN-3060, add apply smack rule to test description] 98/179898/1
authorzhongyuan <zy123.yuan@samsung.com>
Wed, 23 May 2018 08:30:19 +0000 (16:30 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 23 May 2018 08:30:19 +0000 (16:30 +0800)
Change-Id: Ic60a7ff76634f92f61d8ed7a5730ad210654b28c

tv/tct-behavior-tests/tests/CSP/res/csp-asterisk.html
tv/tct-behavior-tests/tests/CSP/res/csp-cross-origin.html
tv/tct-behavior-tests/tests/CSP/res/default-policy-by-directives-csp.html
tv/tct-behavior-tests/tests/CSP/res/default-policy-by-directives-report-only.html
tv/tct-behavior-tests/tests/CSP/res/default-src_asterisk.html
tv/tct-behavior-tests/tests/CSP/res/default-src_cross_origin.html
tv/tct-behavior-tests/tests/CSP/res/sandbox-same-origin-allow-scripts.html

index ea1eed6..0910164 100755 (executable)
@@ -71,6 +71,8 @@ Authors:
             <ol>
                <li>$ web-tct_2.3/tools/python tct-config-device.py --check proc=tinyweb</li>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp001 rwx" | smackload
+echo "User::Pkg::beh1csp001 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index 15baea4..70680a4 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp002 rwx" | smackload
+echo "User::Pkg::beh1csp002 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index 2aa72e7..a3ff77e 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password: tizen; echo "User::Shell User::Pkg::beh1csp016 rwx" | smackload
+echo "User::Pkg::beh1csp016 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index 9a0f395..b5eb15d 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp017 rwx" | smackload
+echo "User::Pkg::beh1csp017 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index 9365374..6091561 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp015 rwx" | smackload
+echo "User::Pkg::beh1csp015 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index ebe5e6e..2170c5b 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp014 rwx" | smackload
+echo "User::Pkg::beh1csp014 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>
index f2b474f..b206326 100755 (executable)
@@ -70,6 +70,8 @@ Authors:
             <p>Test Step: </p>
             <ol>
               <li>Click the "Install" button to install the widget.</li>
+              <li>In sdb shell: su root; password :tizen; echo "User::Shell User::Pkg::beh1csp008 rwx" | smackload
+echo "User::Pkg::beh1csp008 User::Shell rwx" | smackload</li>
               <li>Click the "Launch" button to launch the widget.</li>
               <li>Click the "Uninstall" button to uninstall the widget.</li>
             </ol>