diff options
author | Elliott Hughes <enh@google.com> | 2019-05-07 01:45:16 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-07 01:45:16 +0200 |
commit | 9423d2f6b7efcc94679ecdda5c5ca15039407d6b (patch) | |
tree | 1284c020d0c3ed532f72ee1702b424339016871c /tests/unit/install_test.cpp | |
parent | Merge "Disable libbootloader_message for darwin" (diff) | |
parent | Track libziparchive API change. (diff) | |
download | android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.gz android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.bz2 android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.lz android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.xz android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.tar.zst android_bootable_recovery-9423d2f6b7efcc94679ecdda5c5ca15039407d6b.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/unit/install_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/install_test.cpp b/tests/unit/install_test.cpp index c1d77fb7b..4ec409908 100644 --- a/tests/unit/install_test.cpp +++ b/tests/unit/install_test.cpp @@ -271,9 +271,8 @@ static void VerifyAbUpdateCommands(const std::string& serialno, bool success = t ZipArchiveHandle zip; ASSERT_EQ(0, OpenArchive(temp_file.path, &zip)); - ZipString payload_name("payload.bin"); ZipEntry payload_entry; - ASSERT_EQ(0, FindEntry(zip, payload_name, &payload_entry)); + ASSERT_EQ(0, FindEntry(zip, "payload.bin", &payload_entry)); std::map<std::string, std::string> metadata; ASSERT_TRUE(ReadMetadataFromPackage(zip, &metadata)); |