aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-06-14 17:20:49 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-06-14 17:20:49 +0300
commitf9e8176ea7d520797a2db2d49a5a632c285674a8 (patch)
tree79510bb37a8f16b22c9c7a2d6312f7a6c675eda7 /tests
parentTests: Created tests for hardware functions. (diff)
downloadxz-f9e8176ea7d520797a2db2d49a5a632c285674a8.tar.xz
Tests: Add test file good-1-empty-bcj-lzma2.xz.
This is from test_bcj_exact_size.c. It's good to have it as a standalone file.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/README5
-rw-r--r--tests/files/good-1-empty-bcj-lzma2.xzbin0 -> 52 bytes
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/files/README b/tests/files/README
index 734b828b..59b54e42 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -93,6 +93,11 @@
good-1-3delta-lzma2.xz has three Delta filters and LZMA2.
+ good-1-empty-bcj-lzma2.xz has an empty Block that uses PowerPC BCJ
+ and LZMA2. liblzma from XZ Utils 5.0.1 and older may incorrectly
+ return LZMA_BUF_ERROR in some cases. See commit message
+ d8db706acb8316f9861abd432cfbe001dd6d0c5c for the details.
+
2.2. Unsupported Files
diff --git a/tests/files/good-1-empty-bcj-lzma2.xz b/tests/files/good-1-empty-bcj-lzma2.xz
new file mode 100644
index 00000000..94016d8b
--- /dev/null
+++ b/tests/files/good-1-empty-bcj-lzma2.xz
Binary files differ