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

Commit dbaab24d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "vts_fs_test: Only check /data and /metadata for rw partitions." into main

parents f48c4ad3 442345b7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -133,9 +133,10 @@ TEST(fs, PartitionTypes) {
            std::vector<std::string> allowed = {"erofs", "ext4", "f2fs"};
            EXPECT_NE(std::find(allowed.begin(), allowed.end(), entry.fs_type), allowed.end())
                    << entry.mount_point;
        } else {
        } else if (std::find(data_fs.begin(), data_fs.end(), entry.mount_point) != data_fs.end()) {
            std::vector<std::string> allowed = {"ext4", "f2fs"};
            EXPECT_NE(std::find(allowed.begin(), allowed.end(), entry.fs_type), allowed.end());
            EXPECT_NE(std::find(allowed.begin(), allowed.end(), entry.fs_type), allowed.end())
                    << entry.mount_point << ", " << entry.fs_type;
        }
    }
}