Commit 387edbdf authored by Rohit Gupta's avatar Rohit Gupta

minor fixes to test scripts for Sony Experia

parent 3471c652
...@@ -29,7 +29,7 @@ from lib_autotest import * ...@@ -29,7 +29,7 @@ from lib_autotest import *
def signal_handler(signal, frame): def signal_handler(signal, frame):
print('You pressed Ctrl+C!') print('You pressed Ctrl+C!')
print('Resetting the UE to detached state') print('Exiting now...')
timeout=10 timeout=10
exit_flag=1 exit_flag=1
sys.exit(0) sys.exit(0)
......
...@@ -20,7 +20,8 @@ sleep $timeout ...@@ -20,7 +20,8 @@ sleep $timeout
while true ; do while true ; do
cmd=`sudo adb -s $device_id shell netcfg |grep 192.` cmd=`sudo adb -s $device_id shell netcfg |grep 192.`
if [ -z "$cmd" ]; then if [ -z "$cmd" ]; then
print "Wating for UE to connect and get IP Address..." echo "Wating for UE to connect and get IP Address..."
sleep 1
else else
echo "UE is not connected. IP Address settings are... $cmd" echo "UE is not connected. IP Address settings are... $cmd"
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment