Merge "vts_fs_test: Require EROFS sysfs nodes."

This commit is contained in:
Treehugger Robot 2022-05-27 06:56:33 +00:00 committed by Gerrit Code Review
commit ab2d6cdc8f

View file

@ -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) {