diff options
author | Tao Bao <tbao@google.com> | 2018-03-24 00:11:04 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-24 00:11:04 +0100 |
commit | 7ce215d3b9666d0a0194612f1f148e2a89d3346d (patch) | |
tree | bfb6f9224ca7d1251d024e981b267d41f653e370 /tests | |
parent | Merge "f2fs: support f2fs by setting unmovable bit for package file" (diff) | |
parent | Merge "update_verifier: Support verifying product partition." (diff) | |
download | android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar.gz android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar.bz2 android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar.lz android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar.xz android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.tar.zst android_bootable_recovery-7ce215d3b9666d0a0194612f1f148e2a89d3346d.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/component/update_verifier_test.cpp | 3 |
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)); |