]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Additional information on test failures.
authorTim Kientzle <kientzle@gmail.com>
Sun, 30 Jan 2011 06:04:27 +0000 (01:04 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 30 Jan 2011 06:04:27 +0000 (01:04 -0500)
SVN-Revision: 2954

cpio/test/test_basic.c

index 852b069a16e7c496046449e97b2f7754c40b36f1..1a38104611ff95ccc63559e025543594398429de 100644 (file)
@@ -33,12 +33,15 @@ verify_files(const char *msg)
         */
 
        /* Regular file with 2 links. */
+       failure(msg);
        assertIsReg("file", 0644);
        failure(msg);
        assertFileSize("file", 10);
+       failure(msg);
        assertFileNLinks("file", 2);
 
        /* Another name for the same file. */
+       failure(msg);
        assertIsHardlink("linkfile", "file");
 
        /* Symlink */
@@ -46,8 +49,11 @@ verify_files(const char *msg)
                assertIsSymlink("symlink", "file");
 
        /* Another file with 1 link and different permissions. */
+       failure(msg);
        assertIsReg("file2", 0777);
+       failure(msg);
        assertFileSize("file2", 10);
+       failure(msg);
        assertFileNLinks("file2", 1);
 
        /* dir */