From 387edbdf1908393612bc4705d7351095b5d3e187 Mon Sep 17 00:00:00 2001
From: Rohit Gupta <rohit.gupta@eurecom.fr>
Date: Fri, 1 Apr 2016 17:46:01 +0200
Subject: [PATCH] minor fixes to test scripts for Sony Experia

---
 .../autotests/tools/configure_cots_sony_experia_m4_ue.py       | 2 +-
 cmake_targets/autotests/tools/iperf_script_phone               | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py b/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py
index 399d10b5b1..eba3156976 100755
--- a/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py
+++ b/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py
@@ -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)
diff --git a/cmake_targets/autotests/tools/iperf_script_phone b/cmake_targets/autotests/tools/iperf_script_phone
index 7b4d283c17..25693d13c3 100755
--- a/cmake_targets/autotests/tools/iperf_script_phone
+++ b/cmake_targets/autotests/tools/iperf_script_phone
@@ -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
-- 
GitLab