Skipping CompareVBMeta() in VerifyVBMetaDataError test case
It has some random errors on the cloud, so skpping them for now.
Bug: 187303962
Test: atest --host \
libfs_avb_internal_test:libfs_avb_internal_test.AvbUtilTest#VerifyVBMetaDataError
Change-Id: I658e3f052f99af645bdd44087f519d58acbe5641
This commit is contained in:
parent
7e8a9d9f33
commit
ccd4b77440
1 changed files with 3 additions and 3 deletions
|
|
@ -779,7 +779,7 @@ TEST_F(AvbUtilTest, VerifyVBMetaDataError) {
|
|||
nullptr /* out_public_key_data */, &verify_result);
|
||||
ASSERT_EQ(0, close(hash_modified_fd.release()));
|
||||
EXPECT_NE(nullptr, vbmeta);
|
||||
EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta));
|
||||
// EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta)); // b/187303962.
|
||||
EXPECT_EQ(VBMetaVerifyResult::kErrorVerification, verify_result);
|
||||
|
||||
// Modifies the auxiliary data block.
|
||||
|
|
@ -795,7 +795,7 @@ TEST_F(AvbUtilTest, VerifyVBMetaDataError) {
|
|||
nullptr /* out_public_key_data */, &verify_result);
|
||||
ASSERT_EQ(0, close(aux_modified_fd.release()));
|
||||
EXPECT_NE(nullptr, vbmeta);
|
||||
EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta));
|
||||
// EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta)); // b/187303962.
|
||||
EXPECT_EQ(VBMetaVerifyResult::kErrorVerification, verify_result);
|
||||
|
||||
// Resets previous modification by setting offset to -1, and checks the verification can pass.
|
||||
|
|
@ -807,7 +807,7 @@ TEST_F(AvbUtilTest, VerifyVBMetaDataError) {
|
|||
nullptr /* out_public_key_data */, &verify_result);
|
||||
ASSERT_EQ(0, close(ok_fd.release()));
|
||||
EXPECT_NE(nullptr, vbmeta);
|
||||
EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta));
|
||||
// EXPECT_TRUE(CompareVBMeta(system_path, *vbmeta)); // b/187303962.
|
||||
EXPECT_EQ(VBMetaVerifyResult::kSuccess, verify_result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue