Index: src/platform/update_engine/decompressing_file_writer_unittest.cc |
diff --git a/src/platform/update_engine/decompressing_file_writer_unittest.cc b/src/platform/update_engine/decompressing_file_writer_unittest.cc |
index 1d689e7c695705fbb0519fb3f1117961ce7a6cb7..c1666dbc77c5345cc7a2373384279228fb2d7ec4 100644 |
--- a/src/platform/update_engine/decompressing_file_writer_unittest.cc |
+++ b/src/platform/update_engine/decompressing_file_writer_unittest.cc |
@@ -75,7 +75,8 @@ TEST(GzipDecompressingFileWriterTest, LargeTest) { |
uncompressed_file.Close(); |
// compress the file |
- system((string("cat ") + kPath + " | gzip > " + kPathgz).c_str()); |
+ EXPECT_EQ(0, |
+ system((string("cat ") + kPath + " | gzip > " + kPathgz).c_str())); |
// Now read the compressed file and put it into a DecompressingFileWriter |
MockFileWriter mock_file_writer; |