<post_condition>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</post_condition>
<steps>
<step order="1">
- <step_desc>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</step_desc>
+ <step_desc>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</step_desc>
<expected>The screen shows "PASS" on green backgroud and a gray background of "...testing..." image is displayed.</expected>
</step>
</steps>
<post_condition>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</post_condition>
<steps>
<step order="1">
- <step_desc>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</step_desc>
+ <step_desc>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</step_desc>
<expected>The screen shows "PASS" on green backgroud.</expected>
</step>
</steps>
<post_condition>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</post_condition>
<steps>
<step order="1">
- <step_desc>Get the $appid of wildcard_support.wgt with the command : app_launcher -l, launch wildcard_support.wgt with the command : app_launcher -s $appid</step_desc>
+ <step_desc>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</step_desc>
<expected>The screen shows "PASS" on green backgroud.</expected>
</step>
</steps>