vts_fs_test: Require EROFS sysfs nodes. am: 5b227f3451
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/18636032 Change-Id: Ic976d0f6954342ab3eac142e6984918376769d8a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
346f3905f1
|
@ -47,6 +47,8 @@ TEST(fs, ErofsSupported) {
|
|||
std::string fs;
|
||||
ASSERT_TRUE(android::base::ReadFileToString("/proc/filesystems", &fs));
|
||||
EXPECT_THAT(fs, ::testing::HasSubstr("\terofs\n"));
|
||||
|
||||
ASSERT_EQ(access("/sys/fs/erofs", F_OK), 0);
|
||||
}
|
||||
|
||||
TEST(fs, PartitionTypes) {
|
||||
|
|
Loading…
Reference in New Issue