<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libarchive/test/test_compat_zip.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-12-22T08:42:07Z</updated>
<entry>
<title>Use contrib sources for building libarchive, tar and cpio.</title>
<updated>2011-12-22T08:42:07Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-12-22T08:42:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45d3b226a6370e9c8a99d042320250d96c9daf32'/>
<id>urn:sha1:45d3b226a6370e9c8a99d042320250d96c9daf32</id>
<content type='text'>
Make "make test" fully operational.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Update libarchive, tar and cpio to version 2.8.5</title>
<updated>2011-12-20T20:06:33Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-12-20T20:06:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6ccfb42a23c41712a3932247ea31750ccaed2f7'/>
<id>urn:sha1:f6ccfb42a23c41712a3932247ea31750ccaed2f7</id>
<content type='text'>
The following additional vendor revisions are applied:

Revision 3740:
Use archive_clear_error() to clear the error markers.

Obtained from:	http://code.google.com/p/libarchive
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>If the Zip reader doesn't see a PK signature block</title>
<updated>2010-11-07T03:40:37Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2010-11-07T03:40:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f408e1d38d6cd5f22430d1db5032160e3472e099'/>
<id>urn:sha1:f408e1d38d6cd5f22430d1db5032160e3472e099</id>
<content type='text'>
because there's inter-entry garbage, just scan forward
to find the next one.  This allows us to handle a lot
of Zip archives that have been modified in-place.

Thanks to: Gleb Kurtsou for sending me a sample archive
</content>
</entry>
<entry>
<title>Fiz /usr/bin/unzip: A bug deep in libarchive's read-ahead logic</title>
<updated>2009-09-08T05:02:41Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-09-08T05:02:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=466017cf767efdfde89f9dfc0d177aeca0644c1d'/>
<id>urn:sha1:466017cf767efdfde89f9dfc0d177aeca0644c1d</id>
<content type='text'>
(incorrect handling of zero-length reads before the copy buffer is
allocated) is masked by the iso9660 taster.  Tar and cpio both enable
that taster so were protected from the bug; unzip is susceptible.

This both fixes the bug and updates the test harness to exercise
this case.

Submitted by: Ed Schouten diagnosed the bug and drafted a patch
MFC after: 7 days
</content>
</entry>
<entry>
<title>Merge r335,653,676 from libarchive.googlecode.com: Instead of</title>
<updated>2009-03-07T03:30:35Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-07T03:30:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71938b80a7f414f82b985dfa903da73b817139ba'/>
<id>urn:sha1:71938b80a7f414f82b985dfa903da73b817139ba</id>
<content type='text'>
conditioning tests on HAVE_ZLIB, etc, just ask libarchive for the
service and handle the failure coming back from libarchive.  This
gives us better test coverage of common client usage where clients
simply try to use libarchive services and handle the errors coming
back instead of trying to second-guess which libarchive services are
compiled in.
</content>
</entry>
<entry>
<title>Merge r294:337,r348:350 from libarchive.googlecode.com: A lot</title>
<updated>2009-03-03T17:02:51Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-03T17:02:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=690f818afd6c3c0721202dd1e075aeaaae004704'/>
<id>urn:sha1:690f818afd6c3c0721202dd1e075aeaaae004704</id>
<content type='text'>
of work to make libarchive work on Windows.
</content>
</entry>
<entry>
<title>Style:  Use ARCHIVE_VERSION_NUMBER to conditionalize tests on</title>
<updated>2008-09-01T05:38:33Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-09-01T05:38:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0c35edadaaffdc116c7be1a2ecc38359d91f0901'/>
<id>urn:sha1:0c35edadaaffdc116c7be1a2ecc38359d91f0901</id>
<content type='text'>
the particular libarchive version being tested instead of the
deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
</content>
</entry>
<entry>
<title>Portability: Eliminate the need for uudecode by incorporating</title>
<updated>2008-03-12T05:12:23Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-03-12T05:12:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df4691b98481b2379d249c3e4bb094b445e9196c'/>
<id>urn:sha1:df4691b98481b2379d249c3e4bb094b445e9196c</id>
<content type='text'>
uudecode into the main test driver and invoking it just-in-time
within the various tests.

Also, incorporate a number of improvements to the main test support
code that have proven useful on other projects where I've used this
framework.
</content>
</entry>
<entry>
<title>Extensive improvements to the libarchive_test test program that</title>
<updated>2008-01-01T22:28:04Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-01-01T22:28:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a5e8d812c96dbaf1237c2c12c3d1b9412c6c762'/>
<id>urn:sha1:2a5e8d812c96dbaf1237c2c12c3d1b9412c6c762</id>
<content type='text'>
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.
</content>
</entry>
</feed>
