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

Commit 679a6bac authored by Tom Cherry's avatar Tom Cherry
Browse files

Remove extranous reading of fstab in BuilderTest::block_device_info

Previously information from the fstab was needed for this test, but
that's not longer the case, so skip reading the fstab altogether.

Test: build
Change-Id: I3989c62e19ae2d8606f2bc3a617f9cc3da0e5a6f
parent 561498e3
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -442,10 +442,6 @@ TEST_F(BuilderTest, MetadataTooLarge) {
}
}


TEST_F(BuilderTest, block_device_info) {
TEST_F(BuilderTest, block_device_info) {
    std::unique_ptr<fstab, decltype(&fs_mgr_free_fstab)> fstab(fs_mgr_read_fstab_default(),
                                                               fs_mgr_free_fstab);
    ASSERT_NE(fstab, nullptr);

    PartitionOpener opener;
    PartitionOpener opener;


    BlockDeviceInfo device_info;
    BlockDeviceInfo device_info;