summaryrefslogtreecommitdiffstats
path: root/tests/component
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-20 17:57:19 +0200
committerTao Bao <tbao@google.com>2018-08-20 18:08:35 +0200
commitcdbe58a2a279734b58c3be8ad028edb5e49af3f6 (patch)
tree426288ab6c08dfbb3398e8de09a10a9bc4aeead2 /tests/component
parentMerge "updater: Add TransferList class." (diff)
downloadandroid_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar.gz
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar.bz2
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar.lz
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar.xz
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.tar.zst
android_bootable_recovery-cdbe58a2a279734b58c3be8ad028edb5e49af3f6.zip
Diffstat (limited to 'tests/component')
-rw-r--r--tests/component/updater_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/component/updater_test.cpp b/tests/component/updater_test.cpp
index 2ed797e62..c4f3176f9 100644
--- a/tests/component/updater_test.cpp
+++ b/tests/component/updater_test.cpp
@@ -221,7 +221,7 @@ TEST_F(UpdaterTest, apply_patch_check) {
// File not found.
expect("", "apply_patch_check(\"/doesntexist\")", kNoCause);
- std::string src_file = from_testdata_base("old.file");
+ std::string src_file = from_testdata_base("boot.img");
std::string src_content;
ASSERT_TRUE(android::base::ReadFileToString(src_file, &src_content));
size_t src_size = src_content.size();