summaryrefslogtreecommitdiff
path: root/decompressing_file_writer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decompressing_file_writer_unittest.cc')
-rw-r--r--decompressing_file_writer_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/decompressing_file_writer_unittest.cc b/decompressing_file_writer_unittest.cc
index 1d689e7c..c1666dbc 100644
--- a/decompressing_file_writer_unittest.cc
+++ b/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;