Commit Graph

4 Commits

Author SHA1 Message Date
Victor Hsieh f9f3903cb3 authfs: Add integration test for file resizing
Bug: 186265793
Test: atest
Change-Id: I9dcc261483b5e3a3e468b90897389d49587efebb
2021-04-27 16:47:10 -07:00
Victor Hsieh 7c51aa492b Replace sleep with polling in AuthFsHostTest
The FUSE mount isn't ready immediately, so there was a sleep to give it
extra time to be ready. This change replaces the sleep by polling the
filesystem type of FUSE. The polling saves 1 second-ish per test case.

Also fix some setup/teardown problem of an output file.

Bug: 178874539
Test: atest

Change-Id: I8d5b728883a06ada4d903251f63e44d51132643f
2021-04-01 09:37:01 -07:00
Bob Badour 27b482eb2b [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization
Added SPDX-license-identifier-Apache-2.0 to:
  authfs/tests/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic5234d4e5da0bf2e65917529f0aa0d0eca2d4c6f
2021-03-22 19:01:01 -07:00
Victor Hsieh 85b4f7389c authfs: Integration test
This test currently only runs on Android, not VM, to verify existing
features. It needs to be moved into the VM when ready.

Bug: 178874539
Test: atest AuthFsHostTest

Change-Id: I7334b6ae0e684c36a9e350fe148c12a382ef076e
2021-03-18 11:57:21 -07:00