Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1652f0f3 authored by David Anderson's avatar David Anderson
Browse files

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
parent 5bbdc238
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -47,6 +47,8 @@ TEST(fs, ErofsSupported) {
    std::string fs;
    std::string fs;
    ASSERT_TRUE(android::base::ReadFileToString("/proc/filesystems", &fs));
    ASSERT_TRUE(android::base::ReadFileToString("/proc/filesystems", &fs));
    EXPECT_THAT(fs, ::testing::HasSubstr("\terofs\n"));
    EXPECT_THAT(fs, ::testing::HasSubstr("\terofs\n"));

    ASSERT_EQ(access("/sys/fs/erofs", F_OK), 0);
}
}


TEST(fs, PartitionTypes) {
TEST(fs, PartitionTypes) {