From: yuanzhongyuan Date: Thu, 15 Jun 2017 06:27:18 +0000 (+0800) Subject: [common][widgetpolicy][smack rule command is added] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e11f4edadedcca42e0860c5cda5003fd8d9f6feb;p=test%2Ftct%2Fweb%2Fapi.git [common][widgetpolicy][smack rule command is added] Change-Id: Ib8df56aa5de95b8f02a6d05bf64441afc60e96fa --- diff --git a/common/tct-widgetpolicy-w3c-tests/tests.xml b/common/tct-widgetpolicy-w3c-tests/tests.xml index 2b2dd68f4..47218b3eb 100755 --- a/common/tct-widgetpolicy-w3c-tests/tests.xml +++ b/common/tct-widgetpolicy-w3c-tests/tests.xml @@ -61,7 +61,9 @@ Get the $pkgid of load_image_and_script.wgt with the command : pkgcmd -l, then uninstall the load_image_and_script.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid - Get the $appid of load_image_and_script.wgt with the command : app_launcher -l, launch load_image_and_script.wgt with the command : app_launcher -s $appid + Get the $appid of load_image_and_script.wgt with the command : app_launcher -l, Give the smack access to app with the command : echo "User::Shell User::Pkg::$appid rwx" | smackload +echo "User::Pkg::$appid User::Shell rwx" | smackload, + launch load_image_and_script.wgt with the command : app_launcher -s $appid The screen shows "PASS" on green backgroud and a gray background of "...testing..." image is displayed. @@ -74,7 +76,9 @@ Get the $pkgid of load_text_over_xhr.wgt with the command : pkgcmd -l, then uninstall the load_text_over_xhr.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid - Get the $appid of load_text_over_xhr.wgt with the command : app_launcher -l, launch load_text_over_xhr.wgt with the command : app_launcher -s $appid + Get the $appid of load_text_over_xhr.wgt with the command : app_launcher -l, Give the smack access to app with the command : echo "User::Shell User::Pkg::$appid rwx" | smackload +echo "User::Pkg::$appid User::Shell rwx" | smackload, + launch load_text_over_xhr.wgt with the command : app_launcher -s $appid The screen shows "PASS" on green backgroud. @@ -113,7 +117,9 @@ Get the $pkgid of wildcard_support.wgt with the command : pkgcmd -l, then uninstall the wildcard_support.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid - Get the $appid of wildcard_support.wgt with the command : app_launcher -l, launch wildcard_support.wgt with the command : app_launcher -s $appid + Get the $appid of wildcard_support.wgt with the command : app_launcher -l, Give the smack access to app with the command : echo "User::Shell User::Pkg::$appid rwx" | smackload +echo "User::Pkg::$appid User::Shell rwx" | smackload, +launch wildcard_support.wgt with the command : app_launcher -s $appid The screen shows "PASS" on green backgroud.