diff --git a/fs_mgr/tests/vts_fs_test.cpp b/fs_mgr/tests/vts_fs_test.cpp index 8c49e4a0f..aac2cfd9b 100644 --- a/fs_mgr/tests/vts_fs_test.cpp +++ b/fs_mgr/tests/vts_fs_test.cpp @@ -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) {