Index: delta_performer_unittest.cc |
diff --git a/delta_performer_unittest.cc b/delta_performer_unittest.cc |
index b8d6554eb9493edcd043079bd0eab9f0a48117d2..a3c43f68ce2e283c3272ab7077ec22e28c746371 100755 |
--- a/delta_performer_unittest.cc |
+++ b/delta_performer_unittest.cc |
@@ -286,6 +286,7 @@ TEST(DeltaPerformerTest, RunAsRootSmallImageTest) { |
EXPECT_EQ(0, performer.Close()); |
CompareFilesByBlock(old_kernel, new_kernel); |
+ CompareFilesByBlock(a_img, b_img); |
vector<char> updated_kernel_partition; |
EXPECT_TRUE(utils::ReadFile(old_kernel, &updated_kernel_partition)); |
@@ -297,6 +298,7 @@ TEST(DeltaPerformerTest, RunAsRootSmallImageTest) { |
kUnittestPublicKeyPath, |
OmahaHashCalculator::OmahaHashOfData(delta), |
delta.size())); |
+ EXPECT_TRUE(performer.VerifyAppliedUpdate(a_img, old_kernel)); |
} |
TEST(DeltaPerformerTest, NewFullUpdateTest) { |