diff options
author | Martin Matuska <mm@FreeBSD.org> | 2021-08-23 00:54:15 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2021-08-23 01:07:36 +0000 |
commit | ddce862ad8594542e1fa1af9ffae7264e12ffd27 (patch) | |
tree | 2600b41ee101fe71d95423fd734d7b51c32632b3 /contrib/libarchive/cpio/test | |
parent | 62e1a437f3285e785d9b35a476d36a469a90028d (diff) | |
parent | 9aa5476184726da9d9159568c9b15e29451b5778 (diff) |
libarchive: import changes from upstream
Libarchive 3.5.2
New features:
PR #1502: Support for PWB and v7 binary cpio formats
PR #1509: Support of deflate algorithm in symbolic link decompression
for ZIP archives
Important bugfixes:
IS #1044: fix extraction of hardlinks to symlinks
PR #1480: Fix truncation of size values during 7zip archive
extraction on 32bit architectures
PR #1504: fix rar header skiming
PR #1514: ZIP excessive disk read - fix location of central directory
PR #1520: fix double-free in CAB reader
PR #1521: Fixed leak of rar before ending with error
PR #1530: Handle short writes from archive_write_callback
PR #1532: 7zip: Use compression settings from file also for file header
IS #1566: do not follow symlinks when processing the fixup list
MFC after: 2 weeks
Relnotes: yes
Diffstat (limited to 'contrib/libarchive/cpio/test')
-rw-r--r-- | contrib/libarchive/cpio/test/test_basic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libarchive/cpio/test/test_basic.c b/contrib/libarchive/cpio/test/test_basic.c index 9a23399aa7cb..3662b529e235 100644 --- a/contrib/libarchive/cpio/test/test_basic.c +++ b/contrib/libarchive/cpio/test/test_basic.c @@ -230,6 +230,8 @@ DEFINE_TEST(test_basic) basic_cpio("copy_odc", "--format=odc", "", msg, msg); basic_cpio("copy_newc", "-H newc", "", result, "2 blocks\n"); basic_cpio("copy_cpio", "-H odc", "", msg, msg); + msg = "1 block\n"; + basic_cpio("copy_bin", "-H bin", "", msg, msg); msg = canSymlink() ? "9 blocks\n" : "8 blocks\n"; basic_cpio("copy_ustar", "-H ustar", "", msg, msg); |