diff options
author | Senthil Kumaran <senthil.kumaran@linaro.org> | 2013-02-14 11:29:51 +0530 |
---|---|---|
committer | Senthil Kumaran <senthil.kumaran@linaro.org> | 2013-02-14 11:29:51 +0530 |
commit | 56650eeb34693e9662bdb5a0687e69dedf8ab536 (patch) | |
tree | 59433c758042e42c58e596cc4445687a76adf106 /android | |
parent | df49103cb5c9d040a2cbf2fe1aef6ce2fedda176 (diff) |
Fix the timeout logic in homescreen test definition script.
Diffstat (limited to 'android')
-rwxr-xr-x | android/scripts/homescreen.sh | 4 |
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 |