summaryrefslogtreecommitdiff
path: root/common/boot_control_interface.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2020-02-21 11:42:08 -0800
committerTianjie Xu <xunchang@google.com>2020-02-21 14:34:46 -0800
commit5d496765b6f263db78f21827e0b5da8b3b4fe17e (patch)
tree0b75f2b932e4547824db475c77a685b7836a40f4 /common/boot_control_interface.h
parent212d795e71224b06143f3a3b62bbb1ef79dfc1b7 (diff)
Change the push test path for atest
When running atest, tradefed will push the unittest executable and test data files to the test path on the device. And on cuttlefish, we encounter a selinux denial when the test accessing /data/local/tmp. avc: denied { read } for path="/data/local/tmp/update_engine_unittests/x86/gen/disk_ext2_unittest.img" dev="dm-4" ino=2643 scontext=u:r:kernel:s0 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0 The directory under /data/nativetest has a different label 'update_engine_data_file' which kernel already has access to. Move the path in the test config so that we can avoid granting the access to shell_data_file. Bug: 149942139 Test: atest update_engine_unittests Change-Id: Id71cb18b80b70f6119fe27b7c9d9e49f86324089
Diffstat (limited to 'common/boot_control_interface.h')
0 files changed, 0 insertions, 0 deletions