summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil.kumaran@linaro.org>2013-02-14 11:29:51 +0530
committerSenthil Kumaran <senthil.kumaran@linaro.org>2013-02-14 11:29:51 +0530
commit56650eeb34693e9662bdb5a0687e69dedf8ab536 (patch)
tree59433c758042e42c58e596cc4445687a76adf106 /android
parentdf49103cb5c9d040a2cbf2fe1aef6ce2fedda176 (diff)
Fix the timeout logic in homescreen test definition script.
Diffstat (limited to 'android')
-rwxr-xr-xandroid/scripts/homescreen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/scripts/homescreen.sh b/android/scripts/homescreen.sh
index cc9f847..cbc2201 100755
--- a/android/scripts/homescreen.sh
+++ b/android/scripts/homescreen.sh
@@ -30,8 +30,8 @@ do
break
fi
sleep 60
- timeout+=1
- if [ timeout = 30 ]; then
+ timeout=$((timeout+1))
+ if [ $timeout = 30 ]; then
echo "Homescreen=fail"
break;
fi