From: Seungha Son Date: Thu, 25 Jun 2020 04:45:25 +0000 (+0900) Subject: [TCT][Scripts][Non-ACR][Change atrace smack label from 'User::Shell' to 'User'] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F237097%2F2;p=test%2Ftct%2Fnative%2Fapi.git [TCT][Scripts][Non-ACR][Change atrace smack label from 'User::Shell' to 'User'] It has problems when testing coverage measurements. The'User::Shell' label is applied to the directory where the gcov file is created, so the tct-application cannot create the gcov file. It can solve the problem by changing the Smack label to'User'. Change-Id: I07496b22c7292b8d27403629455ed2141a338888 Signed-off-by: Seungha Son --- diff --git a/scripts_tpk/spec.sh b/scripts_tpk/spec.sh index 477d347b9..63a5dd558 100755 --- a/scripts_tpk/spec.sh +++ b/scripts_tpk/spec.sh @@ -1001,10 +1001,10 @@ case "$1" in ;; "org.tizen.trace-native-utc") echo "Installing pre-requisites for the package $1" - chsmack -e "User::Shell" /usr/bin/atrace-1.1 + chsmack -e "User" /usr/bin/atrace-1.1 ;; "org.tizen.ttrace-native-itc") echo "Installing pre-requisites for the package $1" - chsmack -e "User::Shell" /usr/bin/atrace-1.1 + chsmack -e "User" /usr/bin/atrace-1.1 ;; esac