libsnapshot_test runs as root

Add flag in Android.bp to force the execution of libsnapshot_test as
root.

Test: m
Bug: 142513589
Change-Id: I9d047a9e1f9ea6d6e5540fa66fb42603ea136641
Signed-off-by: Alessio Balsini <balsini@google.com>
This commit is contained in:
Alessio Balsini 2020-01-28 16:02:27 +00:00
parent 2d88794a7d
commit a7383b4001
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ cc_test {
header_libs: [
"libstorage_literals_headers",
],
require_root: true,
}
cc_binary {