summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio/test/test_option_y.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cpio/test/test_option_y.c')
-rw-r--r--usr.bin/cpio/test/test_option_y.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cpio/test/test_option_y.c b/usr.bin/cpio/test/test_option_y.c
index 56852a8..4181301 100644
--- a/usr.bin/cpio/test/test_option_y.c
+++ b/usr.bin/cpio/test/test_option_y.c
@@ -41,9 +41,9 @@ DEFINE_TEST(test_option_y)
/* Archive it with bzip2 compression. */
r = systemf("echo f | %s -oy >archive.out 2>archive.err",
testprog);
- assertFileContents("1 block\n", 8, "archive.err");
failure("-y (bzip) option seems to be broken");
if (assertEqualInt(r, 0)) {
+ assertFileContents("1 block\n", 8, "archive.err");
/* Check that the archive file has a bzip2 signature. */
p = slurpfile(&s, "archive.out");
assert(s > 2);
OpenPOWER on IntegriCloud