summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/cpio/test/test_option_m.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive/files/cpio/test/test_option_m.c')
-rw-r--r--archivers/libarchive/files/cpio/test/test_option_m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/libarchive/files/cpio/test/test_option_m.c b/archivers/libarchive/files/cpio/test/test_option_m.c
index 1781719ae27..e43d259277a 100644
--- a/archivers/libarchive/files/cpio/test/test_option_m.c
+++ b/archivers/libarchive/files/cpio/test/test_option_m.c
@@ -44,7 +44,7 @@ DEFINE_TEST(test_option_m)
now = time(NULL);
assertEqualInt(r, 0);
assertEmptyFile("out");
- assertEmptyFile("err");
+ assertFileContents("1 block\n", 8, "err");
assertEqualInt(0, stat("file", &st));
/* Should have been created within the last few seconds. */
assert(st.st_mtime <= now);
@@ -58,7 +58,7 @@ DEFINE_TEST(test_option_m)
now = time(NULL);
assertEqualInt(r, 0);
assertEmptyFile("out");
- assertEmptyFile("err");
+ assertFileContents("1 block\n", 8, "err");
assertEqualInt(0, stat("file", &st));
/*
* mtime in reference archive is '1' == 1 second after