minor fixes to test scripts for Sony Experia
This commit is contained in:
@@ -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
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user