summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/test/test_read_pax_truncated.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge r596,r690 from libarchive.googlecode.com: Minor style and compilekientzle2009-03-071-5/+6
| | | | warning fixes for test_read_pax_truncated.c.
* Merge r714,r715 from libarchive.googlecode.com: Fix Debian bug #516577.kientzle2009-03-071-1/+1
| | | | | Don't crash if client does not provide a skip function. Extend one of the test cases to use archive_read_open2() with only a read callback.
* Better reporting of test failures.kientzle2008-12-061-4/+10
|
* Style: Use ARCHIVE_VERSION_NUMBER to conditionalize tests onkientzle2008-09-011-30/+30
| | | | | the particular libarchive version being tested instead of the deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
* Extensive improvements to the libarchive_test test program thatkientzle2008-01-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | exercises and verifies the libarchive APIs: * Improved error reporting; hexdumps are now provided for many file/memory content differences. * Overall status more clearly counts "tests" and "assertions" * Reference files can now be stored on disk instead of having to be compiled into the test program itself. A couple of tests have been converted to this more natural structure. * Several memory leaks corrected so that leaks within libarchive itself can be more easily detected and diagnosed. * New test: GNU tar compatibility * New test: Zip compatibility * New test: Zero-byte writes to a compressed archive entry * New test: archive_entry_strmode() format verification * New test: mtree reader * New test: write/read of large (2G - 1TB) entries to tar archives (thanks to recent performance work, this test only requires a few seconds) * New test: detailed format verification of cpio odc and newc writers * Many minor additions/improvements to existing tests as well.
* New test suite test_read_pax_truncated probes libarchivekientzle2007-07-131-0/+281
behavior with truncated or damaged pax archives. This tests most of the cases covered by the recent security advisory. Approved by: re (blanket, libarchive test suite)
OpenPOWER on IntegriCloud