| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Make "make test" fully operational.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=228797
|
|
|
|
|
|
|
|
| |
In particular, this includes tests for the new features I've merged
over the last few days.
Notes:
svn path=/head/; revision=201247
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
corrections to the Windows support to reconcile differences
between Visual Studio and Cygwin. Includes parts of
revisions 757, 774, 787, 815, 817, 819, 820, 844, and 886.
Of particular note, r886 overhauled the UTF-8/Unicode conversions to
work correctly regardless of whether the local system uses 16-bit
or 32-bit wchar_t. (I assume that systems with 16-bit wchar_t
use UTF-16 and those with 32-bit wchar_t use UCS-4.) This revision
also added a preference for wcrtomb() (which is thread-safe) on
platforms that support it.
Notes:
svn path=/head/; revision=190959
|
|
|
|
|
|
|
| |
of work to make libarchive work on Windows.
Notes:
svn path=/head/; revision=189308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In archive_write_disk: If archive_write_header() fails to create
the file, that's a failure and should return ARCHIVE_FAILED.
Metadata restore failures still return ARCHIVE_WARN, because
that's non-critical. Fix test_write_disk_secure test to
verify the correct return code in one case; add test_write_disk_failures
to do another very simple test of restore failure.
This should fix cpio coredumping when it tries to restore to
a write-protected directory.
Thanks to: Giorgos Keramidas
MFC after: 30 days
Notes:
svn path=/head/; revision=187521
|
|
|
|
| |
Notes:
svn path=/head/; revision=182858
|
|
|
|
|
|
|
|
| |
PR: bin/126849
MFC after: 3 days
Notes:
svn path=/head/; revision=182839
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
logic here gets a little complex, but the net effect is that the
SECURE_SYMLINKS flag will prevent us from ever following a symlink.
Without it, we'll only follow symlinks to dirs. bsdtar specifies
SECURE_SYMLINKS by default, suppresses it for -P.
I've also beefed up the write_disk_secure test to verify this
behavior.
PR: bin/126849
Notes:
svn path=/head/; revision=182838
|
|
|
|
|
|
|
|
| |
the particular libarchive version being tested instead of the
deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
Notes:
svn path=/head/; revision=182592
|
|
|
|
| |
Notes:
svn path=/head/; revision=179798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ARCHIVE_VERSION_STAMP to selectively disable tests that don't
apply to that version; new "skipping()" function reports skipped
tests; modify final summary to report component test failures and
skips.
Note: I don't currently intend to MFC the test suite itself;
anyone interested should just checkout and use this version
of the test suite, which should work for any library version.
Approved by: re (Ken Smith, blanket)
Notes:
svn path=/head/; revision=171280
|
|
|
|
| |
Notes:
svn path=/head/; revision=168745
|
|
* libarchive_test program exercises many of the core features
* Refactored old "read_extract" into new "archive_write_disk", which
uses archive_write methods to put entries onto disk. In particular,
you can now use archive_write_disk to create objects on disk
without having an archive available.
* Pushed some security checks from bsdtar down into libarchive, where
they can be better optimized.
* Rearchitected the logic for creating objects on disk to reduce
the number of system calls. Several common cases now use a
minimum number of system calls.
* Virtualized some internal interfaces to provide a clearer separation
of read and write handling and make it simpler to override key
methods.
* New "empty" format reader.
* Corrected return types (this ABI breakage required the "2.0" version bump)
* Many bug fixes.
Notes:
svn path=/head/; revision=167186
|