vts_fs_test: Require EROFS sysfs nodes.
These were backported to android13-5.10 and should be present in T-launch kernels. Bug: 233926292 Test: vts_fs_test Change-Id: Ifb5ff6a200b081fe8696d5803d4a128740eb8e21 Merged-In: Ifb5ff6a200b081fe8696d5803d4a128740eb8e21 Ignore-AOSP-First: cherry-pick
This commit is contained in:
parent
0d3b8d557f
commit
5b227f3451
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue