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
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
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