summaryrefslogtreecommitdiffstats
path: root/tests/unit/applypatch_test.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-01-12 23:16:52 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-12 23:16:52 +0100
commita88a07d8b95611e703be1704150dbd9a3052e7f2 (patch)
treeefb63fafaa6c02e5cf27ddb0c9bfeda548f60744 /tests/unit/applypatch_test.cpp
parent[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6246c37677 -s ours (diff)
parentMerge "Disable failed imgpatch tests" am: 043ef5ff40 (diff)
downloadandroid_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar.gz
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar.bz2
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar.lz
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar.xz
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.tar.zst
android_bootable_recovery-a88a07d8b95611e703be1704150dbd9a3052e7f2.zip
Diffstat (limited to 'tests/unit/applypatch_test.cpp')
-rw-r--r--tests/unit/applypatch_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/applypatch_test.cpp b/tests/unit/applypatch_test.cpp
index 218a224f8..4b80dcee9 100644
--- a/tests/unit/applypatch_test.cpp
+++ b/tests/unit/applypatch_test.cpp
@@ -132,7 +132,7 @@ TEST_F(ApplyPatchTest, PatchPartitionCheck_UseBackup_BothCorrupted) {
PatchPartitionCheck(target_partition, Partition(target_file, source_size, source_sha1)));
}
-TEST_F(ApplyPatchTest, PatchPartition) {
+TEST_F(ApplyPatchTest, DISABLED_PatchPartition) {
FileContents patch_fc;
ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot.p"), &patch_fc));
Value patch(Value::Type::BLOB, std::string(patch_fc.data.cbegin(), patch_fc.data.cend()));
@@ -146,7 +146,7 @@ TEST_F(ApplyPatchTest, PatchPartition) {
// Tests patching an eMMC target without a separate bonus file (i.e. recovery-from-boot patch has
// everything).
-TEST_F(ApplyPatchTest, PatchPartitionWithoutBonusFile) {
+TEST_F(ApplyPatchTest, DISABLED_PatchPartitionWithoutBonusFile) {
FileContents patch_fc;
ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot-with-bonus.p"), &patch_fc));
Value patch(Value::Type::BLOB, std::string(patch_fc.data.cbegin(), patch_fc.data.cend()));