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):
|
||||
print('You pressed Ctrl+C!')
|
||||
print('Resetting the UE to detached state')
|
||||
print('Exiting now...')
|
||||
timeout=10
|
||||
exit_flag=1
|
||||
sys.exit(0)
|
||||
|
||||
@@ -20,7 +20,8 @@ sleep $timeout
|
||||
while true ; do
|
||||
cmd=`sudo adb -s $device_id shell netcfg |grep 192.`
|
||||
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
|
||||
echo "UE is not connected. IP Address settings are... $cmd"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user