]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix sparse tests with holes at the end
authorNate Rosenblum <natr@google.com>
Fri, 5 Feb 2016 14:28:58 +0000 (06:28 -0800)
committerNate Rosenblum <natr@google.com>
Fri, 5 Feb 2016 15:02:14 +0000 (07:02 -0800)
commitfd0958c8bc286f6ae598d26c127ce9074db5928e
tree5b6721bcfb4fc75d9559ff427da61359a555aaaf
parente0448b61f6e795a1632395ef4525936817aef18d
Fix sparse tests with holes at the end

Sparse file creation in test_sparse_basic failed to create holes at
the end of files. These tests don't presently verify the existence of
holes at the end (they are concerned only with the sparse data block
entries), but this change ensures that the input file matches the
expected hole/data layout.
libarchive/test/test_sparse_basic.c