From 56650eeb34693e9662bdb5a0687e69dedf8ab536 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 14 Feb 2013 11:29:51 +0530 Subject: Fix the timeout logic in homescreen test definition script. --- android/scripts/homescreen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'android') 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 -- cgit v1.2.3