]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
More information about sparse test failures
authorTim Kientzle <kientzle@acm.org>
Sat, 8 Sep 2018 18:26:48 +0000 (11:26 -0700)
committerTim Kientzle <kientzle@acm.org>
Sat, 8 Sep 2018 18:26:48 +0000 (11:26 -0700)
libarchive/test/test_sparse_basic.c

index 58d53a94e07281c6941ae506dd8572f2134ef9bf..0df0f1d321ac1bca047ff82ac335989a825f457c 100644 (file)
@@ -422,6 +422,7 @@ verify_sparse_file(struct archive *a, const char *path,
        assert(sparse->type == END);
        assertEqualInt(expected_offset, archive_entry_size(ae));
 
+       failure(path);
        assertEqualInt(holes_seen, expected_holes);
 
        assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a));
@@ -457,6 +458,7 @@ verify_sparse_file2(struct archive *a, const char *path,
        /* Verify the number of holes only, not its offset nor its
         * length because those alignments are deeply dependence on
         * its filesystem. */ 
+       failure(path);
        assertEqualInt(blocks, archive_entry_sparse_count(ae));
        archive_entry_free(ae);
 }