[TCT][TPK scripts][NON-ACR] remove /tmp/utclog before starting TC
authorSemun Lee <sm79.lee@samsung.com>
Wed, 7 Sep 2016 04:34:36 +0000 (13:34 +0900)
committerSemun Lee <sm79.lee@samsung.com>
Wed, 7 Sep 2016 04:34:36 +0000 (13:34 +0900)
Change-Id: I051ebaef7bfc9189e00f226635ac2110995405d5
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
scripts_tpk/external_wrapper.sh

index ee66501..a257136 100755 (executable)
@@ -40,6 +40,7 @@ fi
 TIME_FACTOR=10
 RESULT_PATH=/tmp/tcresult
 ERRLOG_PATH=/tmp/tclog
+UTC_LOG=/tmp/utclog
 UTC_LOG_CORE=/tmp/utclog_core
 
 #Read timeout value from /tmp/TCT_Timeout.txt file
@@ -60,6 +61,7 @@ function KillPackage {
 function Execute {
        rm -f $RESULT_PATH
        rm -f $ERRLOG_PATH
+       rm -f $UTC_LOG
        rm -f $UTC_LOG_CORE
 
        RET=`su -c "app_launcher -s $1 testcase_name $2" $DEVICE_EXECUTION_MODE_30`