summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-27 19:50:31 +0200
committerTianjie Xu <xunchang@google.com>2018-08-28 02:16:19 +0200
commit22f11205a1f0d534c10e88e40f09b92c9faa161c (patch)
tree9b6e1bd187fe17b71654a83ebe61859191559a49 /tests
parentMerge "updater: Add TransferList class." (diff)
downloadandroid_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar.gz
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar.bz2
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar.lz
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar.xz
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.tar.zst
android_bootable_recovery-22f11205a1f0d534c10e88e40f09b92c9faa161c.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/Android.bp1
-rw-r--r--tests/component/updater_test.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/Android.bp b/tests/Android.bp
index dc20f3326..ab4d31da2 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -56,7 +56,6 @@ libapplypatch_static_libs = [
"libedify",
"libimgdiff",
"libimgpatch",
- "libotafault",
"libotautil",
"libbsdiff",
"libbspatch",
diff --git a/tests/component/updater_test.cpp b/tests/component/updater_test.cpp
index 2ed797e62..59757655f 100644
--- a/tests/component/updater_test.cpp
+++ b/tests/component/updater_test.cpp
@@ -272,7 +272,7 @@ TEST_F(UpdaterTest, file_getprop) {
expect(nullptr, "file_getprop(\"arg1\", \"arg2\", \"arg3\")", kArgsParsingFailure);
// File doesn't exist.
- expect(nullptr, "file_getprop(\"/doesntexist\", \"key1\")", kFileGetPropFailure);
+ expect(nullptr, "file_getprop(\"/doesntexist\", \"key1\")", kFreadFailure);
// Reject too large files (current limit = 65536).
TemporaryFile temp_file1;