summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-05-05 15:27:52 -0700
committerDavid Anderson <dvander@google.com>2020-05-05 19:16:21 -0700
commit3afca7c11ed5f968dafcd128cbb137341f8c8b73 (patch)
tree679894f8f949a00fc40a58bdf353b1f35af51b51 /libutils/FileMap_test.cpp
parent64021d834ad8be21a992f72696e9552033815e7f (diff)
libfiemap: Remove brittle tests.
libfiemap functionality is extensively tested via libsnapshot, gsid, and fiemap_writer_test. However those tests rely on the configuration of the device, and libfiemap has fairly different behavior based on whether FBE or metadata encryption is in use. (The former will use loop devices, the latter uses dm-linear). To expand coverage, we added tests with very complicated nesting, creating fiemaps on a rw partition mounted off a device backed by a fiemap. Unsurprisingly, this was brittle to begin with, and now consistently fails due to the intermediate partition not having sepolicy. Given the preference toward metadata encryption, and the fact that the FBE mode will still be properly tested via VTS, let's just remove these tests. Bug: 148874852 Test: fiemap_image_test Change-Id: I7be7d44dea81508505c050ed995b3b78086ad35f Merged-In: I7be7d44dea81508505c050ed995b3b78086ad35f
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions