aboutsummaryrefslogtreecommitdiff
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-07-24 11:32:15 +0300
commitbb795fe835cf2b3ae7ed68b155784fbfc14e2faf (patch)
tree7ddb125c62f4164d27b3451df70c76d209a924aa
parentUpdate THANKS. (diff)
downloadxz-bb795fe835cf2b3ae7ed68b155784fbfc14e2faf.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.
-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