Created
March 31, 2024 08:01
-
-
Save oogali/5df0c519efd1a28e9c3941c05e129128 to your computer and use it in GitHub Desktop.
xz 5.6.1 "good" tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git log tests/files/good-1-riscv-lzma2-1.xz | |
commit 0b4ccc91454dbcf0bf521b9bd51aa270581ee23c | |
Author: Jia Tan <[email protected]> | |
Date: Sat Mar 9 10:05:32 2024 +0800 | |
Tests: Update RISC-V test files. | |
This increases code coverage and tests for possible shifting bugs. | |
commit 3060e1070b2421b26c0e17794c1307ec5622f11d | |
Author: Jia Tan <[email protected]> | |
Date: Tue Jan 23 23:52:14 2024 +0800 | |
Tests: Use smaller dictionary size in RISC-V test files. | |
commit e2870db5be1503e6a489fc3d47daf950d6f62723 | |
Author: Jia Tan <[email protected]> | |
Date: Mon Jan 22 23:33:39 2024 +0800 | |
Tests: Add two RISC-V Filter test files. | |
These test files achieve 100% code coverage in | |
src/liblzma/simple/riscv.c. They contain all of the instructions that | |
should be filtered and a few cases that should not. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in tests/files/good*.xz ; do echo "==> ${f}" ; xz -t ${f} ; echo ; done | |
==> tests/files/good-0-empty.xz | |
==> tests/files/good-0cat-empty.xz | |
==> tests/files/good-0catpad-empty.xz | |
==> tests/files/good-0pad-empty.xz | |
==> tests/files/good-1-3delta-lzma2.xz | |
==> tests/files/good-1-arm64-lzma2-1.xz | |
==> tests/files/good-1-arm64-lzma2-2.xz | |
==> tests/files/good-1-block_header-1.xz | |
==> tests/files/good-1-block_header-2.xz | |
==> tests/files/good-1-block_header-3.xz | |
==> tests/files/good-1-check-crc32.xz | |
==> tests/files/good-1-check-crc64.xz | |
==> tests/files/good-1-check-none.xz | |
==> tests/files/good-1-check-sha256.xz | |
==> tests/files/good-1-delta-lzma2.tiff.xz | |
==> tests/files/good-1-empty-bcj-lzma2.xz | |
==> tests/files/good-1-lzma2-1.xz | |
==> tests/files/good-1-lzma2-2.xz | |
==> tests/files/good-1-lzma2-3.xz | |
==> tests/files/good-1-lzma2-4.xz | |
==> tests/files/good-1-lzma2-5.xz | |
==> tests/files/good-1-riscv-lzma2-1.xz | |
xz: tests/files/good-1-riscv-lzma2-1.xz: Unsupported options | |
==> tests/files/good-1-riscv-lzma2-2.xz | |
xz: tests/files/good-1-riscv-lzma2-2.xz: Unsupported options | |
==> tests/files/good-1-sparc-lzma2.xz | |
==> tests/files/good-1-x86-lzma2.xz | |
==> tests/files/good-2-lzma2.xz | |
==> tests/files/good-2cat.xz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This decodes correctly if I use xz 5.6.1 (with RISC-V support), however the resulting blob is not an ELF binary nor text file.