From 65e8e3803e4449af98b7c346fe46acbd883d525a Mon Sep 17 00:00:00 2001 From: "yongcheol.lee" Date: Wed, 11 Mar 2020 11:21:48 +0900 Subject: [PATCH] Restore fastboot delete-logical-partition command for VTS 1. delete-logical-partition was deleted - After merge "Don't require bootloader fastboot for VTS compliance." commit, delete-logical-partition sequence was deleted in LogicalPartitionCompliance test. "create-logical-partition failed" is occurred when run vts fastbootverification module. So restore this sequence. Test: run vts -m VtsFastbootVerification Bug: 153913610 Signed-off-by: Yongcheol LEE Change-Id: I00366b281eafa5677b0941419a86f2702fb3484b Merged-In: I00366b281eafa5677b0941419a86f2702fb3484b --- fastboot/fuzzy_fastboot/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fastboot/fuzzy_fastboot/main.cpp b/fastboot/fuzzy_fastboot/main.cpp index d9167e75b..e7f785b83 100644 --- a/fastboot/fuzzy_fastboot/main.cpp +++ b/fastboot/fuzzy_fastboot/main.cpp @@ -261,6 +261,10 @@ TEST_F(LogicalPartitionCompliance, CreateResizeDeleteLP) { GTEST_LOG_(INFO) << "Flashing a logical partition.."; EXPECT_EQ(fb->FlashPartition(test_partition_name, buf), SUCCESS) << "flash logical -partition failed"; + + GTEST_LOG_(INFO) << "Testing 'fastboot delete-logical-partition' command"; + EXPECT_EQ(fb->DeletePartition(test_partition_name), SUCCESS) + << "delete logical-partition failed"; } // Conformance tests