]> git.draconx.ca Git - liblbx.git/commit
tests: Add test for truncated archives.
authorNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2014 05:01:40 +0000 (00:01 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2014 05:41:02 +0000 (00:41 -0500)
commit8e1fbe44dde847482ecdf54f97d31a5322a2fd92
tree4b27c2ba7f5b24323b4443eb1c3878ef8b5f9396
parenta52b40384eb58fc2d7c06c7d46d1c401cde19443
tests: Add test for truncated archives.

If a real EOF is encountered while reading an archive member this
will not be properly reported as a read error.  So we'll never notice
if extracted files are missing a chunk because the archive is truncated.

Add a test which exposes this behaviour.
Makefile.am
tests/broken-archives.tap [new file with mode: 0644]
tests/testdata/arch-trunc.lbx [new file with mode: 0644]