Add test that makes fd_server use of fs-verity ioctl
Although we're only using fd_server to read Merkle tree from .fsv_meta
currently, fd_server actually supports reading the tree from a fs-verity
protected file using ioctl.
This change adds a test case for that, by configuring fd_server with
`--ro-fds 3` instead of something like `--ro-fds 3:4` where 4 is the
alternative fs-verity metadata source (.fsv_meta).
Also removed an obsolete TODO.
Bug: 183749054
Test: atest AuthFsHostTest
Change-Id: Ib633d8792048ac17c5f84fd987aa09ff538cf29d
diff --git a/authfs/tests/Android.bp b/authfs/tests/Android.bp
index 72685ad..b662bee 100644
--- a/authfs/tests/Android.bp
+++ b/authfs/tests/Android.bp
@@ -14,11 +14,14 @@
"MicrodroidHostTestHelper",
],
test_suites: ["general-tests"],
- //TODO(b/235263148) use data_device_bins_64
- data_device_bins_first: ["open_then_run"],
+ data_device_bins_first: [
+ "open_then_run",
+ "fsverity",
+ ],
per_testcase_directory: true,
data: [
":authfs_test_files",
+ ":CtsApkVerityTestPrebuiltFiles",
":MicrodroidTestApp",
],
}