4 mkdir /var/log/ico > /dev/null 2>&1
5 export HOMESCREEN_LOG=/var/log/ico/org.tizen.ico.homescreen.log
6 export ONSCREEN_LOG=/var/log/ico/org.tizen.ico.onscreen.log
9 ./homescreen-test-makedat.sh
12 ico_send_inputevent -m < testdata/gui-test.dat
16 ico_send_hscommand json/hide-tile.json
19 ico_send_hscommand json/show-tile.json
22 ico_send_hscommand json/hide-tile.json
24 ico_send_hscommand json/show-app1.json
26 #Move and resize application
27 ico_send_hscommand json/geom-app1-1.json
29 ico_send_hscommand json/geom-app1-2.json
31 ico_send_hscommand json/geom-app1-3.json
33 #Terminate application
34 ico_send_hscommand json/term-app1.json
36 ico_send_hscommand json/show-tile.json
38 #Terminate application
39 ico_send_hscommand json/hide-tile.json
41 ico_send_hscommand json/exec-app1.json
43 #Application on tile screen
44 ico_send_hscommand json/show-tile.json
49 /bin/grep -i "err" $HOMESCREEN_LOG
50 if [ "$?" != "1" ] ; then
53 /bin/grep -i "err" $ONSCREEN_LOG
54 if [ "$?" != "1" ] ; then
57 /bin/grep -i "fail" $HOMESCREEN_LOG
58 if [ "$?" != "1" ] ; then
61 /bin/grep -i "fail" $ONSCREEN_LOG
62 if [ "$?" != "1" ] ; then
67 rm -f testdata/gui-test.dat
71 if [ $FOUND_ERR = 0 ] ; then
72 echo "org.tizen.ico.homescreen Test: OK"
74 echo "org.tizen.ico.homescreen Test: Please check the upper log whether there is not a critical bug"