commit | db70cbf78a874cbb679f92cdf8f395cbc7483c25 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Aug 03 16:57:12 2023 -0700 |
committer | David Anderson <dvander@google.com> | Tue Aug 08 10:40:32 2023 -0700 |
tree | ea3b43b310c81377d944ca44719b9e2acab63af5 | |
parent | 1cf0e9040941898c2e1352b93f6f1df78a432e7a [diff] |
snapuserd: Remove test dependence on LoopDevice. LoopDevice requires root, which is an obstacle to running this test in automation. The test also requires memfd which is not available in our included glibc. Create an IBackingDevice layer so we can use temporary files instead on host tests, while keeping the block-device code for on-device tests, which more closely matches how snapuserd runs. Bug: 288273605 Test: snapuserd_test Change-Id: I89b154921b6bbcf8fe213ef7f5c4da4d48322909