[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 ea1eed660f374ba51a7a22416af950583d5f0120..091016408b6577af3779f2e2d6a8a5779cabaef2 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 15baea43a83a746f1144d6e105466099ce9d5b20..70680a41975c6d1703af621419c1bc1b96f5d161 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 2aa72e73a211943923e3c550ccb5858ca69b6dd0..a3ff77e758575f3912e46f65545140b819ffce09 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 9a0f395dd0d443148f038476a867fcfbeca4d6e7..b5eb15d90815280e4205bd0e5edefac3d806d69d 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 93653745af3562f0fb523a62bc7bf0e722b5bb02..60915617f73fe1558ff53dcd70da23322e9df96e 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 ebe5e6e483c386391e61563f8b1d492d1e840005..2170c5bcc246c64e297a985c1d5657c2d06d8f19 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 f2b474feb100022c25092b48e9f94463796b0a8f..b206326fb02853ff16889835825164d07267966b 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>