]> git.ipfire.org Git - thirdparty/libarchive.git/commit
7zip reader: add some 7z ARM filter tests
authorMostyn Bramley-Moore <mostyn@antipode.se>
Sun, 11 Jun 2023 15:32:57 +0000 (17:32 +0200)
committerMartin Matuška <martin@matuska.de>
Thu, 13 Jul 2023 22:14:52 +0000 (00:14 +0200)
commita96cb07ca39f156c309580f380c11806f076775a
tree2d0dcd2bc92e0bf1eea33fb123ccf34c636d067b
parent5f329a3a728be757f082b868de3cbfe3972044f0
7zip reader: add some 7z ARM filter tests

Note that test_read_format_7zip_lzma2_arm passes, while
test_read_format_7zip_zstd_arm fails, I believe because
liblzma implements these filters internally for itself, unlike the
other compression libraries.

These two archives contain a linux C hello world executable, built for
gnueabihf. They were created like so (the first one using a fork of
7-zip with zstandard support):
7z a -t7z -m0=zstd -mf=ARM libarchive/test/test_read_format_7zip_zstd_arm.7z hw-gnueabihf
and
7z a -t7z -m0=lzma2 -mf=ARM libarchive/test/test_read_format_7zip_lzma2_arm.7z hw-gnueabihf
libarchive/test/test_read_format_7zip.c
libarchive/test/test_read_format_7zip_lzma2_arm.7z.uu [new file with mode: 0644]
libarchive/test/test_read_format_7zip_zstd_arm.7z.uu [new file with mode: 0644]