aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-27 16:56:02 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-27 17:07:27 +0530
commit5fd741dbe00acd848b31b30d9966a88aa30c05dd (patch)
treeca33826669087e7c4d2478cad27cec689cf339d3
parent9628c45613275c62e9314d708ff701396c604944 (diff)
prepare-device.sh: adb root should return zero2015.01
'adb root' not successful all time. prepare device script failed to complete its execution. Due to this reason test (a7_only and a15_only) modes did not setting up properly. Change-Id: Ie31ef914796d5f12c085ba313d9ddd5ee5d0d4bc Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xprepare-device.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/prepare-device.sh b/prepare-device.sh
index e32bd0e..914dc36 100755
--- a/prepare-device.sh
+++ b/prepare-device.sh
@@ -29,8 +29,8 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root | true
adb connect $IPADDR:5555
- adb root
adb devices
echo "Waiting for device"
adb wait-for-device
@@ -44,8 +44,8 @@ then
# enable IKS
IPADDR=`cat IPADDR`
echo "Enable IKS for $IPADDR"
+ adb root | true
adb connect $IPADDR:5555
- adb root
adb devices
echo "Waiting for device"
adb wait-for-device
@@ -59,8 +59,8 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root | true
adb connect $IPADDR:5555
- adb root
adb devices
echo "Waiting for device"
adb wait-for-device
@@ -77,8 +77,8 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root | true
adb connect $IPADDR:5555
- adb root
adb devices
echo "Waiting for device"
adb wait-for-device