summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/zipalign/tests/src/align_test.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/zipalign/tests/src/align_test.cpp b/tools/zipalign/tests/src/align_test.cpp
index cbd92187f3..c79e791e41 100644
--- a/tools/zipalign/tests/src/align_test.cpp
+++ b/tools/zipalign/tests/src/align_test.cpp
@@ -19,8 +19,11 @@ TEST(Align, Unaligned) {
const std::string src = GetTestPath("unaligned.zip");
const std::string dst = GetTestPath("unaligned_out.zip");
- int result = process(src.c_str(), dst.c_str(), 4, true, false, 4096);
- ASSERT_EQ(0, result);
+ int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096);
+ ASSERT_EQ(0, processed);
+
+ int verified = verify(dst.c_str(), 4, true, false);
+ ASSERT_EQ(0, verified);
}
// Align a zip featuring a hole at the beginning. The