[TCT][Scripts][Non-ACR][Change atrace smack label from 'User::Shell' to 'User'] 97/237097/2
authorSeungha Son <seungha.son@samsung.com>
Thu, 25 Jun 2020 04:45:25 +0000 (13:45 +0900)
committerJihun Park <jihun87.park@samsung.com>
Thu, 25 Jun 2020 05:59:30 +0000 (05:59 +0000)
 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 <seungha.son@samsung.com>
scripts_tpk/spec.sh

index 477d347b94fcd261a9f3aad24d72ada78e25b87f..63a5dd5582b773e564a2d40e9c12fbb4628f37a5 100755 (executable)
@@ -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