From 679a6bacc6bb3aa172b636dad3c01d14c365a7b8 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Mon, 28 Jan 2019 11:04:18 -0800 Subject: [PATCH] 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 --- fs_mgr/liblp/builder_test.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs_mgr/liblp/builder_test.cpp b/fs_mgr/liblp/builder_test.cpp index 8f0816996..69724f873 100644 --- a/fs_mgr/liblp/builder_test.cpp +++ b/fs_mgr/liblp/builder_test.cpp @@ -442,10 +442,6 @@ TEST_F(BuilderTest, MetadataTooLarge) { } TEST_F(BuilderTest, block_device_info) { - std::unique_ptr fstab(fs_mgr_read_fstab_default(), - fs_mgr_free_fstab); - ASSERT_NE(fstab, nullptr); - PartitionOpener opener; BlockDeviceInfo device_info;