summaryrefslogtreecommitdiffstats
path: root/tests/component
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-28 04:05:17 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-28 04:05:17 +0200
commita1e3d67bd7fca7228780752872ca482589c3be45 (patch)
tree52cbaff31cc4737469b1a66e1a2e51ca8494b7cc /tests/component
parentMerge "uncrypt: Depend on commonly used shared libs." (diff)
parentRemove otafault (diff)
downloadandroid_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar.gz
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar.bz2
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar.lz
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar.xz
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.tar.zst
android_bootable_recovery-a1e3d67bd7fca7228780752872ca482589c3be45.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 c4f3176f9..b253abccf 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;