summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-03-23 00:07:00 +0100
committerTao Bao <tbao@google.com>2018-03-23 21:27:53 +0100
commit454d8cb805e633aaa1c6456a57ec9c2dc6c6e163 (patch)
tree6f28956dc36a215bfd28d456ad8564b8ec1e3b62 /tests
parenttests: Add ApplyPatchModesTest.PatchModeEmmcTargetWithBsdiffPatch test. (diff)
downloadandroid_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar.gz
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar.bz2
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar.lz
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar.xz
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.tar.zst
android_bootable_recovery-454d8cb805e633aaa1c6456a57ec9c2dc6c6e163.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/component/update_verifier_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/component/update_verifier_test.cpp b/tests/component/update_verifier_test.cpp
index b04e1185e..1544bb2a4 100644
--- a/tests/component/update_verifier_test.cpp
+++ b/tests/component/update_verifier_test.cpp
@@ -46,7 +46,6 @@ TEST_F(UpdateVerifierTest, verify_image_smoke) {
return;
}
- // The care map file can have only two or four lines.
TemporaryFile temp_file;
std::string content = "system\n2,0,1";
ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file.path));
@@ -58,7 +57,7 @@ TEST_F(UpdateVerifierTest, verify_image_smoke) {
}
TEST_F(UpdateVerifierTest, verify_image_wrong_lines) {
- // The care map file can have only two or four lines.
+ // The care map file can have only 2 / 4 / 6 lines.
TemporaryFile temp_file;
ASSERT_FALSE(verify_image(temp_file.path));