]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
More detail on failure.
authorTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:01:33 +0000 (11:01 -0400)
committerTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:01:33 +0000 (11:01 -0400)
SVN-Revision: 1462

cpio/test/test_gcpio_compat.c

index 1e1e594bdc520816a7704100dbf42b1235101c6e..461e427c2e88283ee9a10fe0f2df8a46e3dd19c8 100644 (file)
@@ -57,11 +57,17 @@ unpack_test(const char *from, const char *options, const char *se)
 
        /* Regular file with 2 links. */
        assertIsReg("file", 0644);
+       failure("%s", from);
        assertFileSize("file", 10);
+       assertFileSize("linkfile", 10);
+       failure("%s", from);
        assertFileNLinks("file", 2);
 
        /* Another name for the same file. */
+       failure("%s", from);
        assertIsHardlink("linkfile", "file");
+       assertFileSize("file", 10);
+       assertFileSize("linkfile", 10);
 
        /* Symlink */
        if (canSymlink())