Index: delta_performer_unittest.cc |
diff --git a/delta_performer_unittest.cc b/delta_performer_unittest.cc |
index 8717e07a6f2c1f9dd9feef2e937dd7bea6b84d03..046564003795b0276160186281bf66f82cff8111 100755 |
--- a/delta_performer_unittest.cc |
+++ b/delta_performer_unittest.cc |
@@ -214,7 +214,7 @@ TEST(DeltaPerformerTest, RunAsRootSmallImageTest) { |
uint64_t manifest_metadata_size; |
- // Check that the null signature blob exists |
+ // Check the metadata. |
{ |
LOG(INFO) << "delta size: " << delta.size(); |
DeltaArchiveManifest manifest; |
@@ -242,6 +242,11 @@ TEST(DeltaPerformerTest, RunAsRootSmallImageTest) { |
&expected_sig_data_length)); |
EXPECT_EQ(expected_sig_data_length, manifest.signatures_size()); |
EXPECT_FALSE(signature.data().empty()); |
+ |
+ EXPECT_EQ(old_kernel_data.size(), manifest.old_kernel_info().size()); |
+ EXPECT_EQ(new_kernel_data.size(), manifest.new_kernel_info().size()); |
+ EXPECT_EQ(utils::FileSize(a_img), manifest.old_rootfs_info().size()); |
+ EXPECT_EQ(utils::FileSize(b_img), manifest.new_rootfs_info().size()); |
} |
PrefsMock prefs; |