diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-24 16:30:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-27 22:28:02 +0200 |
commit | 98bce41166f1a62c6a9b843db7e68a7efedd5742 (patch) | |
tree | deeb1be5683fdf314545ce66220cfe85ccd13695 /eclass/tests | |
parent | unpacker.eclass: Move decompressor recognition into a function (diff) | |
download | gentoo-98bce41166f1a62c6a9b843db7e68a7efedd5742.tar.gz gentoo-98bce41166f1a62c6a9b843db7e68a7efedd5742.tar.bz2 gentoo-98bce41166f1a62c6a9b843db7e68a7efedd5742.zip |
unpacker.eclass: Add support for .lz4 and .lzo compression
Add support for .lz4 and .lzo formats that can be used for .tar.gpkg
compression.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/tests')
-rwxr-xr-x | eclass/tests/unpacker.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/tests/unpacker.sh b/eclass/tests/unpacker.sh index 7a297d61babd..1f2327054521 100755 --- a/eclass/tests/unpacker.sh +++ b/eclass/tests/unpacker.sh @@ -165,6 +165,8 @@ test_compressed_file .lzma lzma test_compressed_file .xz xz test_compressed_file .lz lzip test_compressed_file .zst zstd +test_compressed_file .lz4 lz4 +test_compressed_file .lzo lzop test_compressed_file_multistream .bz2 bzip2 test_compressed_file_multistream .gz gzip @@ -187,6 +189,8 @@ test_compressed_tar .tar.xz xz test_compressed_tar .txz xz test_compressed_tar .tar.lz lzip test_compressed_tar .tar.zst zstd +test_compressed_tar .tar.lz4 lz4 +test_compressed_tar .tar.lzo lzop test_unpack test.cpio test.in cpio 'cpio -o --quiet <<<${TESTFILE} > ${archive}' test_compressed_cpio .cpio.bz2 bzip2 @@ -196,6 +200,8 @@ test_compressed_cpio .cpio.lzma lzma test_compressed_cpio .cpio.xz xz test_compressed_cpio .cpio.lz lzip test_compressed_cpio .cpio.zst zstd +test_compressed_cpio .cpio.lz4 lz4 +test_compressed_cpio .cpio.lzo lzop test_deb test_deb .gz gzip @@ -223,6 +229,7 @@ test_reject_junk .lz test_reject_junk .zst test_reject_junk .tar test_reject_junk .cpio +test_reject_junk .gpkg.tar test_reject_junk .deb test_reject_junk .zip test_reject_junk .7z |