summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:29:42 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:44:27 +0100
commitacdbae1723d1bc32d2e31d06ad76306af1749032 (patch)
tree700e5a0394e2d452447933949182a78ab3daeffc /tests
parent2d2772341fa65e3d412e76c6e9d4a8815756c0ec (diff)
Add a simplistic integration and regression test
This test basically consists of the Canterbury Corpus which is turned into a SquashFS image using every supported compressor, with every supported block size, with and without tail end packing. The results MUST have an exact, given sha512sum. If that changes, it means either a regression in the output format, something broke or non-deterministic packing behaviour. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makemodule.am4
-rwxr-xr-xtests/cantrbry.sh.in46
-rw-r--r--tests/corpus/cantrbry.sha512108
-rw-r--r--tests/corpus/cantrbry.tar.xzbin0 -> 486044 bytes
4 files changed, 158 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 51363e3..492744d 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -93,6 +93,7 @@ check_PROGRAMS += test_get_path test_fstree_sort test_fstree_from_file
check_PROGRAMS += test_fstree_init test_tar_ustar test_tar_pax test_tar_gnu
check_PROGRAMS += test_tar_sparse_gnu test_tar_sparse_gnu1 test_tar_sparse_gnu2
check_PROGRAMS += test_tar_xattr_bsd test_tar_xattr_schily
+check_SCRIPTS += tests/cantrbry.sh
noinst_PROGRAMS += fstree_fuzz tar_fuzz
@@ -102,7 +103,10 @@ TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file
TESTS += test_fstree_init test_tar_ustar test_tar_pax
TESTS += test_tar_gnu test_tar_sparse_gnu test_tar_sparse_gnu1
TESTS += test_tar_sparse_gnu2 test_tar_xattr_bsd test_tar_xattr_schily
+TESTS += tests/cantrbry.sh
endif
EXTRA_DIST += $(top_srcdir)/tests/tar $(top_srcdir)/tests/words.txt
EXTRA_DIST += $(top_srcdir)/tests/fstree1.txt
+EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.tar.xz
+EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.sha512
diff --git a/tests/cantrbry.sh.in b/tests/cantrbry.sh.in
new file mode 100755
index 0000000..c8ba917
--- /dev/null
+++ b/tests/cantrbry.sh.in
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+set -e
+
+CORPUS="@abs_top_srcdir@/tests/corpus/cantrbry.tar.xz"
+SHA512FILE="@abs_top_srcdir@/tests/corpus/cantrbry.sha512"
+TAR2SQFS="@abs_top_builddir@/tar2sqfs"
+
+COMPRESSORS=$(@abs_top_builddir@/tar2sqfs --help |\
+ sed -ne '/^Available compressors:$/{:a' -e 'n;p;ba' -e '}' |\
+ sed -n '/\t/p')
+
+for size in 4096 8192 16384 32768 65536 131072 262144 524288 1048576; do
+ for cmp in $COMPRESSORS; do
+ for threads in 1 2 3 4; do
+ name="cantrbry_${cmp}_${size}_${threads}.sqfs"
+
+ xzcat "$CORPUS" | \
+ "$TAR2SQFS" -q -c "$cmp" -b "$size" \
+ -j "$threads" "$name"
+
+ name="cantrbry_${cmp}_${size}_${threads}_T.sqfs"
+
+ xzcat "$CORPUS" | \
+ "$TAR2SQFS" -qT -c "$cmp" -b "$size" \
+ -j "$threads" "$name"
+ done
+
+ # check that the ones with > 1 thread are identical,
+ # then remove them.
+ for threads in 2 3 4; do
+ name="cantrbry_${cmp}_${size}_${threads}.sqfs"
+ ref="cantrbry_${cmp}_${size}_1.sqfs"
+ diff "$name" "$ref"
+ rm "$name"
+
+ name="cantrbry_${cmp}_${size}_${threads}_T.sqfs"
+ ref="cantrbry_${cmp}_${size}_1_T.sqfs"
+ diff "$name" "$ref"
+ rm "$name"
+ done
+ done
+done
+
+sha512sum --ignore-missing -c "$SHA512FILE"
+rm cantrbry_*.sqfs
diff --git a/tests/corpus/cantrbry.sha512 b/tests/corpus/cantrbry.sha512
new file mode 100644
index 0000000..be59436
--- /dev/null
+++ b/tests/corpus/cantrbry.sha512
@@ -0,0 +1,108 @@
+8ca4426181c8d1ffc3272e9d5726dad9aa5515c16897b05d2aa984a71f18df85bf99234e62b1edd297cc570f8b93deeba4654493d68818ce6ee0c0b246a6ab5b cantrbry_gzip_1048576_1.sqfs
+8ca4426181c8d1ffc3272e9d5726dad9aa5515c16897b05d2aa984a71f18df85bf99234e62b1edd297cc570f8b93deeba4654493d68818ce6ee0c0b246a6ab5b cantrbry_gzip_1048576_1_T.sqfs
+585f5214eca73a1c13dae4cdb92855d4f341cf823807de5e546a19f74a81d80ba9fad916b864bc34bebc04e651d91450345eb8f4f2b2f9af3dfed0ce2449b778 cantrbry_gzip_131072_1.sqfs
+585f5214eca73a1c13dae4cdb92855d4f341cf823807de5e546a19f74a81d80ba9fad916b864bc34bebc04e651d91450345eb8f4f2b2f9af3dfed0ce2449b778 cantrbry_gzip_131072_1_T.sqfs
+6917aa213bb0ecb2caa1a60e5ea7eecb9463662e8da2d3fa61b70f5f64607b7f9b3a491bb86868d3310fd5fa90b7c4f49a88daa1d40f51923f0cda7632c85796 cantrbry_gzip_16384_1.sqfs
+6917aa213bb0ecb2caa1a60e5ea7eecb9463662e8da2d3fa61b70f5f64607b7f9b3a491bb86868d3310fd5fa90b7c4f49a88daa1d40f51923f0cda7632c85796 cantrbry_gzip_16384_1_T.sqfs
+0fca5cda692115d1bc5678a24adba44af29faa8f0700857744ba6d51becc26220f838c46769713f84f987af1075cd6da71d914ae5b67f9ec09d911cf3cff2ee6 cantrbry_gzip_262144_1.sqfs
+0fca5cda692115d1bc5678a24adba44af29faa8f0700857744ba6d51becc26220f838c46769713f84f987af1075cd6da71d914ae5b67f9ec09d911cf3cff2ee6 cantrbry_gzip_262144_1_T.sqfs
+294fc5b6f0612d4f90de69f734a7cbb4e639e0772da589a85d871ebae380c809be1b582c200c6340192a5f41d3067e977ccd3659640a6618c308977dbb12ba01 cantrbry_gzip_32768_1.sqfs
+294fc5b6f0612d4f90de69f734a7cbb4e639e0772da589a85d871ebae380c809be1b582c200c6340192a5f41d3067e977ccd3659640a6618c308977dbb12ba01 cantrbry_gzip_32768_1_T.sqfs
+5babc9729e66ae5c92e3864dea6fb35f23aa3317d5f0807959b10228cd3240cc49365dab3667bd883b3d5449263eef6bc8dd8c31a215912724ea470404b994fb cantrbry_gzip_4096_1.sqfs
+5babc9729e66ae5c92e3864dea6fb35f23aa3317d5f0807959b10228cd3240cc49365dab3667bd883b3d5449263eef6bc8dd8c31a215912724ea470404b994fb cantrbry_gzip_4096_1_T.sqfs
+87c79b5e4199e64fb11a48ca6b80fe10cd0377077bb0a0feef33db73f800cd73fde6dc921f78003b8c7be0892d00d373e2580d4c2afcdabb64ba152ad60c375a cantrbry_gzip_524288_1.sqfs
+87c79b5e4199e64fb11a48ca6b80fe10cd0377077bb0a0feef33db73f800cd73fde6dc921f78003b8c7be0892d00d373e2580d4c2afcdabb64ba152ad60c375a cantrbry_gzip_524288_1_T.sqfs
+6e1d0290dc45a5f7e927f9fa859c7c416a73ad2cf57b017404f40dce03305a90682fe615e5cd247d1bc757188962169e679c8de9d4b97632bef94c020e0fe842 cantrbry_gzip_65536_1.sqfs
+6e1d0290dc45a5f7e927f9fa859c7c416a73ad2cf57b017404f40dce03305a90682fe615e5cd247d1bc757188962169e679c8de9d4b97632bef94c020e0fe842 cantrbry_gzip_65536_1_T.sqfs
+74a9ea2b90721e366f2d68c0727e9f4837f906fb6c954ba8a5ff8f1a204fe12251cf0927c05776f6382a961f7502ebb13ba15a07515c2bab51c00ca9ad20dbc3 cantrbry_gzip_8192_1.sqfs
+74a9ea2b90721e366f2d68c0727e9f4837f906fb6c954ba8a5ff8f1a204fe12251cf0927c05776f6382a961f7502ebb13ba15a07515c2bab51c00ca9ad20dbc3 cantrbry_gzip_8192_1_T.sqfs
+a8ab50996335f68851a69666398cf39ee3d5d5aba064f08b03cd5d5efee15ddc41628bef72a84798ec17849619eec67ae4bf4b03c16b3fe4736126890526602f cantrbry_lz4_1048576_1.sqfs
+a8ab50996335f68851a69666398cf39ee3d5d5aba064f08b03cd5d5efee15ddc41628bef72a84798ec17849619eec67ae4bf4b03c16b3fe4736126890526602f cantrbry_lz4_1048576_1_T.sqfs
+21c9fdae669250203289bc32048b5238a94ad1b685b45aa6c01f615bd21a1a2dc7a980be28538070b586ae9f28d063c2014d60950d4f6b25cfc92cc98a3735e1 cantrbry_lz4_131072_1.sqfs
+21c9fdae669250203289bc32048b5238a94ad1b685b45aa6c01f615bd21a1a2dc7a980be28538070b586ae9f28d063c2014d60950d4f6b25cfc92cc98a3735e1 cantrbry_lz4_131072_1_T.sqfs
+1f7846a6cd809a933f6fd41ee6538aeea7591ec2d91a95e01e1dfc3da5fab673d0a59a430443c4089228c7529323e994d24b2cf898585f67e2193f1edd5e605f cantrbry_lz4_16384_1.sqfs
+1f7846a6cd809a933f6fd41ee6538aeea7591ec2d91a95e01e1dfc3da5fab673d0a59a430443c4089228c7529323e994d24b2cf898585f67e2193f1edd5e605f cantrbry_lz4_16384_1_T.sqfs
+5e5ac30b64157626b8a3a168ab71f61839239de9c6c0fee129398e2dd88bcd66a1112ea5c13ab5b4b25fa419e2ad767e438c58871d8297a0e5590e0572080eb4 cantrbry_lz4_262144_1.sqfs
+5e5ac30b64157626b8a3a168ab71f61839239de9c6c0fee129398e2dd88bcd66a1112ea5c13ab5b4b25fa419e2ad767e438c58871d8297a0e5590e0572080eb4 cantrbry_lz4_262144_1_T.sqfs
+8ffe892e9d67d01e68e6ae77962a28f48f0cc7013ed56bfca9232f9db7db3caffad15180e02f924317f172946fde4e973a928849a7834f49606dc05502158068 cantrbry_lz4_32768_1.sqfs
+8ffe892e9d67d01e68e6ae77962a28f48f0cc7013ed56bfca9232f9db7db3caffad15180e02f924317f172946fde4e973a928849a7834f49606dc05502158068 cantrbry_lz4_32768_1_T.sqfs
+ee494abb8bb0701a846b3aad499734dd10470496e5e876c42c0b01cd804b6f0fd11950c00f80e38c21bb25a7b08d32fdb83045e623c0f7843fb7cdb99bccf501 cantrbry_lz4_4096_1.sqfs
+ee494abb8bb0701a846b3aad499734dd10470496e5e876c42c0b01cd804b6f0fd11950c00f80e38c21bb25a7b08d32fdb83045e623c0f7843fb7cdb99bccf501 cantrbry_lz4_4096_1_T.sqfs
+d1f1799810758ad01c26e4929a52d333848b67ca44f457e8e2564376c1c70a2b21103ed79b54e25f38db7ca415effacb24c9e0af0bddf186c3c0718f05185aae cantrbry_lz4_524288_1.sqfs
+d1f1799810758ad01c26e4929a52d333848b67ca44f457e8e2564376c1c70a2b21103ed79b54e25f38db7ca415effacb24c9e0af0bddf186c3c0718f05185aae cantrbry_lz4_524288_1_T.sqfs
+da0fc626bd29452ddabff31d6364b9c9585e0bc7f3d998379b14abf51eb14dc4d66e8962a0e8a13015386072d13ef88b1eeb028388f68ab172ddb6a7d30ef1fb cantrbry_lz4_65536_1.sqfs
+da0fc626bd29452ddabff31d6364b9c9585e0bc7f3d998379b14abf51eb14dc4d66e8962a0e8a13015386072d13ef88b1eeb028388f68ab172ddb6a7d30ef1fb cantrbry_lz4_65536_1_T.sqfs
+96e4a59630e402e267d7ade6aa5b483c2d08d279ba1a47ce3af7891bd48d01bb6ecbc816067e113bd88bee9ef76ff8b3078166c3bcf46c95e4072db385e446a4 cantrbry_lz4_8192_1.sqfs
+96e4a59630e402e267d7ade6aa5b483c2d08d279ba1a47ce3af7891bd48d01bb6ecbc816067e113bd88bee9ef76ff8b3078166c3bcf46c95e4072db385e446a4 cantrbry_lz4_8192_1_T.sqfs
+98e02cb00e61f807010fac696496d55ffdbef04c35bac3817daa425b18abe08cba0150798dc5e3e5b6ca29cad339aa555e37952e3e1172c03a2af2c49f1019b3 cantrbry_lzma_1048576_1.sqfs
+98e02cb00e61f807010fac696496d55ffdbef04c35bac3817daa425b18abe08cba0150798dc5e3e5b6ca29cad339aa555e37952e3e1172c03a2af2c49f1019b3 cantrbry_lzma_1048576_1_T.sqfs
+5e2a2d44e10f4a5544a8dc39741f5637978184c71b7a68b3104e94962305da0d5610c7c9232b121495cf69a5d064509b9c0909128c97affd169ef811d8274671 cantrbry_lzma_131072_1.sqfs
+5e2a2d44e10f4a5544a8dc39741f5637978184c71b7a68b3104e94962305da0d5610c7c9232b121495cf69a5d064509b9c0909128c97affd169ef811d8274671 cantrbry_lzma_131072_1_T.sqfs
+8af56c478418d3c29bea9688a6248d8a3fb203891f387cdb1a0be1e3b3697942372780f606913ee5e75b5b222001123b9027fea96b560e3a3ac47279c77273f1 cantrbry_lzma_16384_1.sqfs
+8af56c478418d3c29bea9688a6248d8a3fb203891f387cdb1a0be1e3b3697942372780f606913ee5e75b5b222001123b9027fea96b560e3a3ac47279c77273f1 cantrbry_lzma_16384_1_T.sqfs
+06e3f084a4b3915bab11b2d7eea709b6d630bcc62754a5c8eae7f7d37ddbec522f07df7aa449b55cbb40986398911be907e0be336ce2f2a1505e97c84933766a cantrbry_lzma_262144_1.sqfs
+06e3f084a4b3915bab11b2d7eea709b6d630bcc62754a5c8eae7f7d37ddbec522f07df7aa449b55cbb40986398911be907e0be336ce2f2a1505e97c84933766a cantrbry_lzma_262144_1_T.sqfs
+b8b66bbd0257ada9a6731d3f67cdc134b3b080be7aea078c8c1b68e1d201d8bdd7885d618e6549989d4a01f133b4903ecc1e314e57f45d34326eba4a6a5cb60d cantrbry_lzma_32768_1.sqfs
+b8b66bbd0257ada9a6731d3f67cdc134b3b080be7aea078c8c1b68e1d201d8bdd7885d618e6549989d4a01f133b4903ecc1e314e57f45d34326eba4a6a5cb60d cantrbry_lzma_32768_1_T.sqfs
+679f53f2dbf10339427c0fc695917a956f287840ceb43e874c36d118c1c9e4aff8c276fa0dffa05dd29515bb48f5aec92632a3df55cdcf626e9ffa8d6d607012 cantrbry_lzma_4096_1.sqfs
+679f53f2dbf10339427c0fc695917a956f287840ceb43e874c36d118c1c9e4aff8c276fa0dffa05dd29515bb48f5aec92632a3df55cdcf626e9ffa8d6d607012 cantrbry_lzma_4096_1_T.sqfs
+e9f4be0861eb0637ccab409c40dc0c6d29b6c56b98ff65297d8cdf80b98307e5c5ca2d0140b80b95e8c03a7a895134c2d6474e1583ad0d2860d6a9be92ee7758 cantrbry_lzma_524288_1.sqfs
+e9f4be0861eb0637ccab409c40dc0c6d29b6c56b98ff65297d8cdf80b98307e5c5ca2d0140b80b95e8c03a7a895134c2d6474e1583ad0d2860d6a9be92ee7758 cantrbry_lzma_524288_1_T.sqfs
+b0864d098a372dc7c8ef748250a88845a7215e52c10ab12335b689deb5848174ba81d1b5d22b25c32786f590a28432a2a64ebab99151753b06eaef0f2a7e460c cantrbry_lzma_65536_1.sqfs
+b0864d098a372dc7c8ef748250a88845a7215e52c10ab12335b689deb5848174ba81d1b5d22b25c32786f590a28432a2a64ebab99151753b06eaef0f2a7e460c cantrbry_lzma_65536_1_T.sqfs
+8e119a2c3243cd4de255087ba8ba96d635fa6423af598679862b647b832a8d2e856d59a0230d9419e01a73ce7a5ef003ed119e01dbe0abf523c24da99758083c cantrbry_lzma_8192_1.sqfs
+8e119a2c3243cd4de255087ba8ba96d635fa6423af598679862b647b832a8d2e856d59a0230d9419e01a73ce7a5ef003ed119e01dbe0abf523c24da99758083c cantrbry_lzma_8192_1_T.sqfs
+8e7ec2f3a2cb5bd30cbcdac2cb4e8633a2f714aecd4d43ee826ed4982ac0c3c2d54f587d68f36f4985af905de26d11590bb24ee44dbe806b15e8e6e4796ff97f cantrbry_lzo_1048576_1.sqfs
+8e7ec2f3a2cb5bd30cbcdac2cb4e8633a2f714aecd4d43ee826ed4982ac0c3c2d54f587d68f36f4985af905de26d11590bb24ee44dbe806b15e8e6e4796ff97f cantrbry_lzo_1048576_1_T.sqfs
+c5549a283754973ce932fd365c2545b2a1847264dc9e9a0311d0a1573c42445488f820e12d0eb3c79376f2aa953cb7aa3e126fca5910b0418e569354a5bfbb58 cantrbry_lzo_131072_1.sqfs
+c5549a283754973ce932fd365c2545b2a1847264dc9e9a0311d0a1573c42445488f820e12d0eb3c79376f2aa953cb7aa3e126fca5910b0418e569354a5bfbb58 cantrbry_lzo_131072_1_T.sqfs
+2db6fa07b782251b012baa7aea7a10b9ad93264fe89f4438f0d787b291791213706dcb67b33209e8922e02facde1e3783fb9579e1706bcc5015ae4677f25614d cantrbry_lzo_16384_1.sqfs
+2db6fa07b782251b012baa7aea7a10b9ad93264fe89f4438f0d787b291791213706dcb67b33209e8922e02facde1e3783fb9579e1706bcc5015ae4677f25614d cantrbry_lzo_16384_1_T.sqfs
+3086144d24c44435153496ca9ba0e5963f4da9423f6010dfacfafe590fea74df112cf8abf2fffd5d9e66512f86ab0ec571486ee036f2f999ce84a50db9c0b514 cantrbry_lzo_262144_1.sqfs
+3086144d24c44435153496ca9ba0e5963f4da9423f6010dfacfafe590fea74df112cf8abf2fffd5d9e66512f86ab0ec571486ee036f2f999ce84a50db9c0b514 cantrbry_lzo_262144_1_T.sqfs
+4c79c05219dbff416f7dc79404a6d685c1f581fe835cede5320cc55582e7d9bf78d4367abbbac845bcc0b6896a7184b5076d6b8ef1ffbb09bec67a91dabe716b cantrbry_lzo_32768_1.sqfs
+4c79c05219dbff416f7dc79404a6d685c1f581fe835cede5320cc55582e7d9bf78d4367abbbac845bcc0b6896a7184b5076d6b8ef1ffbb09bec67a91dabe716b cantrbry_lzo_32768_1_T.sqfs
+f033e4bfdd4fd2121d1db622e18d3d36099d85a80e43e38392e624f131e74b66c5895bb3e868d01db4fe01dfad3a2116645eceac91c3dfd6301cd39f49171597 cantrbry_lzo_4096_1.sqfs
+f033e4bfdd4fd2121d1db622e18d3d36099d85a80e43e38392e624f131e74b66c5895bb3e868d01db4fe01dfad3a2116645eceac91c3dfd6301cd39f49171597 cantrbry_lzo_4096_1_T.sqfs
+82ee7f3d980f01322616cd73ffbab269bdca5e1777d5500116b93c28a1336618d3bce2026c3e245c2f3c65ad035bc075557201a0efc08316025226362f9c3804 cantrbry_lzo_524288_1.sqfs
+82ee7f3d980f01322616cd73ffbab269bdca5e1777d5500116b93c28a1336618d3bce2026c3e245c2f3c65ad035bc075557201a0efc08316025226362f9c3804 cantrbry_lzo_524288_1_T.sqfs
+7815fd53cae896cd1517d52ca594fac35f9aa2fd8bcf815f04264824989668e9a6a8d68e2d818b08a72909a3840ead62d7c3f5bc4cfcf32218ee2143c4bdf422 cantrbry_lzo_65536_1.sqfs
+7815fd53cae896cd1517d52ca594fac35f9aa2fd8bcf815f04264824989668e9a6a8d68e2d818b08a72909a3840ead62d7c3f5bc4cfcf32218ee2143c4bdf422 cantrbry_lzo_65536_1_T.sqfs
+8741c626db80aab5bbe8d457a1f95bf2d070a2950590e55d7b06689689237c6f9de049ad55224fdf34ab3997b142cf67a16ebf2d2aa3aa355733ee900380c442 cantrbry_lzo_8192_1.sqfs
+8741c626db80aab5bbe8d457a1f95bf2d070a2950590e55d7b06689689237c6f9de049ad55224fdf34ab3997b142cf67a16ebf2d2aa3aa355733ee900380c442 cantrbry_lzo_8192_1_T.sqfs
+b62816efd2b63729b42331f9119c3f0ab632bb134d2dbba0f05b3b3d161c0fe01aa5b03f5726faa5a9f31c45c3cbb3626d16eb02a6db8fd434e5b1ae8a95723f cantrbry_xz_1048576_1.sqfs
+b62816efd2b63729b42331f9119c3f0ab632bb134d2dbba0f05b3b3d161c0fe01aa5b03f5726faa5a9f31c45c3cbb3626d16eb02a6db8fd434e5b1ae8a95723f cantrbry_xz_1048576_1_T.sqfs
+9f1b45d999da3c785c1c2f6be36a77b1cfa472f72d66698be489547ebeea0aef888839490d9fb310c105bd7443b6723ffde0537d51c473974b72ade2314f17b5 cantrbry_xz_131072_1.sqfs
+9f1b45d999da3c785c1c2f6be36a77b1cfa472f72d66698be489547ebeea0aef888839490d9fb310c105bd7443b6723ffde0537d51c473974b72ade2314f17b5 cantrbry_xz_131072_1_T.sqfs
+2823fabe23da40d25819e377e96b7a44b7ab1adda6756d705280d6dec75e7a6079ed9b3ebcea2f2880b8b882f95e1f954faff912d4dee15bbd574ada9b281eba cantrbry_xz_16384_1.sqfs
+2823fabe23da40d25819e377e96b7a44b7ab1adda6756d705280d6dec75e7a6079ed9b3ebcea2f2880b8b882f95e1f954faff912d4dee15bbd574ada9b281eba cantrbry_xz_16384_1_T.sqfs
+547717e0045167cf25efa4515c7434981424c6ad2ce9b5a694b31ff08f350005ca63e4f93e77919fa37e4db328b1129e4522e9faa164af1e7fe8344e40583b72 cantrbry_xz_262144_1.sqfs
+547717e0045167cf25efa4515c7434981424c6ad2ce9b5a694b31ff08f350005ca63e4f93e77919fa37e4db328b1129e4522e9faa164af1e7fe8344e40583b72 cantrbry_xz_262144_1_T.sqfs
+7eae41f2ef0643ce658a7ad9250dcd93715802b7b279f752274c90179176cafd6bcdb55932beb68ec160c3e0002454a3da35b9cdbcad9b96f1e19390e0413dde cantrbry_xz_32768_1.sqfs
+7eae41f2ef0643ce658a7ad9250dcd93715802b7b279f752274c90179176cafd6bcdb55932beb68ec160c3e0002454a3da35b9cdbcad9b96f1e19390e0413dde cantrbry_xz_32768_1_T.sqfs
+64a13166aed798d53c9f0200d2d2cb8e0826123655a96d8f3b384c2282005185ba3c80ebd88f167b43e5daf007fded80614447f31f9d89be09034da29c9903f4 cantrbry_xz_4096_1.sqfs
+64a13166aed798d53c9f0200d2d2cb8e0826123655a96d8f3b384c2282005185ba3c80ebd88f167b43e5daf007fded80614447f31f9d89be09034da29c9903f4 cantrbry_xz_4096_1_T.sqfs
+02bc503e6e762ff75584fac9ec64391ff4308fb2c13f00c0bcf80862dd5fd80df63a4a8819b9bd27ec33e4eeceadf6923a03b2dd5c98af9a4a9404c91dd45250 cantrbry_xz_524288_1.sqfs
+02bc503e6e762ff75584fac9ec64391ff4308fb2c13f00c0bcf80862dd5fd80df63a4a8819b9bd27ec33e4eeceadf6923a03b2dd5c98af9a4a9404c91dd45250 cantrbry_xz_524288_1_T.sqfs
+906a1968ab1add048b9a7c0b56f1bcd1fbffdccb12ec77c1f35fba7be40cd2eeb5ea08edda67d4a6f00ba5fcd2ca6505b58998bd8f430ada8d4f170bf193dc0d cantrbry_xz_65536_1.sqfs
+906a1968ab1add048b9a7c0b56f1bcd1fbffdccb12ec77c1f35fba7be40cd2eeb5ea08edda67d4a6f00ba5fcd2ca6505b58998bd8f430ada8d4f170bf193dc0d cantrbry_xz_65536_1_T.sqfs
+79f38b253a18d752772a3acdb4cd5ca05007e78c9b5a86bef73e670763b6cc3d100a9c44bcaeeaf9bd0adbaba9bbaec6d8d4272d4f8a4c806513163ba6bdbbd9 cantrbry_xz_8192_1.sqfs
+79f38b253a18d752772a3acdb4cd5ca05007e78c9b5a86bef73e670763b6cc3d100a9c44bcaeeaf9bd0adbaba9bbaec6d8d4272d4f8a4c806513163ba6bdbbd9 cantrbry_xz_8192_1_T.sqfs
+0a335c95af7b907bdc99d066cad3d43d6bdf0abb59012c5035f92b8fe14d1d6ae6fe81e5bb3a8862a99b2c852769a7af09389429982cd09c7170f55e850ee081 cantrbry_zstd_1048576_1.sqfs
+0a335c95af7b907bdc99d066cad3d43d6bdf0abb59012c5035f92b8fe14d1d6ae6fe81e5bb3a8862a99b2c852769a7af09389429982cd09c7170f55e850ee081 cantrbry_zstd_1048576_1_T.sqfs
+e6750bf8ab7cabc61214914a2232429ea369a6256780bf5e5f5336cf09e70bbf4a0a8ac7e570ee17a95122b394ba752e61887450bc207fe7417da6843e46df90 cantrbry_zstd_131072_1.sqfs
+e6750bf8ab7cabc61214914a2232429ea369a6256780bf5e5f5336cf09e70bbf4a0a8ac7e570ee17a95122b394ba752e61887450bc207fe7417da6843e46df90 cantrbry_zstd_131072_1_T.sqfs
+213aca714595a6d70d0aa6d100d3a43b95cd240ddbd4b54172172fb795fde25129ba5e1a0c5aa396255c29c28267d794f779822f20dd31a9dabc68865cf5389d cantrbry_zstd_16384_1.sqfs
+213aca714595a6d70d0aa6d100d3a43b95cd240ddbd4b54172172fb795fde25129ba5e1a0c5aa396255c29c28267d794f779822f20dd31a9dabc68865cf5389d cantrbry_zstd_16384_1_T.sqfs
+c7c1fe941253766812ac065788574844c87fac1f1612988ebadfe127252ba9a79131728fd6695145bf5aa4d9002a2a8f664f35c1b50e33d80bd405c64a56f2c6 cantrbry_zstd_262144_1.sqfs
+c7c1fe941253766812ac065788574844c87fac1f1612988ebadfe127252ba9a79131728fd6695145bf5aa4d9002a2a8f664f35c1b50e33d80bd405c64a56f2c6 cantrbry_zstd_262144_1_T.sqfs
+f38b06d0a20b07f7a70be94e0b881ce49c1ba13081646e5b2e2414ee1726a25141c0ea1dad7833a84a0974d0fe022df3d48f4a5dc2b1fa8d4119510b5d85aa92 cantrbry_zstd_32768_1.sqfs
+f38b06d0a20b07f7a70be94e0b881ce49c1ba13081646e5b2e2414ee1726a25141c0ea1dad7833a84a0974d0fe022df3d48f4a5dc2b1fa8d4119510b5d85aa92 cantrbry_zstd_32768_1_T.sqfs
+9d2b0c5a6ccbb856bec91f54fa62ffda0025bb5ebeb86943196b8a38d8b47793d5048d4b5b9d3bdeb5b488d6c1bd41578bdaf1c59cdfa5c2a3f05a9a0ecee8f7 cantrbry_zstd_4096_1.sqfs
+9d2b0c5a6ccbb856bec91f54fa62ffda0025bb5ebeb86943196b8a38d8b47793d5048d4b5b9d3bdeb5b488d6c1bd41578bdaf1c59cdfa5c2a3f05a9a0ecee8f7 cantrbry_zstd_4096_1_T.sqfs
+9c9084f09bcbe3a68a483dbc70a3a7f6c279af153e7652b8f7aefad6980d866298ab100ff12a11cd0fe077676e63b764db6145facf3d8662f6bba9468410232a cantrbry_zstd_524288_1.sqfs
+9c9084f09bcbe3a68a483dbc70a3a7f6c279af153e7652b8f7aefad6980d866298ab100ff12a11cd0fe077676e63b764db6145facf3d8662f6bba9468410232a cantrbry_zstd_524288_1_T.sqfs
+261b6a13764710eac571e1aa6ba1907a8ef4ab8f79a0feb748c4ad5523f3260367f62ca3b98068fa76062ecbc07139c3211a68001a3bb912a2f29974e185d5ff cantrbry_zstd_65536_1.sqfs
+261b6a13764710eac571e1aa6ba1907a8ef4ab8f79a0feb748c4ad5523f3260367f62ca3b98068fa76062ecbc07139c3211a68001a3bb912a2f29974e185d5ff cantrbry_zstd_65536_1_T.sqfs
+22b6dd728b5d8fcba83214a426864aff47811b22e213237fc87ab77b7d08d9f1a38a04186e9f2df75f71561d4f03d52dad839287c5def35b417d2550b5752d87 cantrbry_zstd_8192_1.sqfs
+22b6dd728b5d8fcba83214a426864aff47811b22e213237fc87ab77b7d08d9f1a38a04186e9f2df75f71561d4f03d52dad839287c5def35b417d2550b5752d87 cantrbry_zstd_8192_1_T.sqfs
diff --git a/tests/corpus/cantrbry.tar.xz b/tests/corpus/cantrbry.tar.xz
new file mode 100644
index 0000000..32be882
--- /dev/null
+++ b/tests/corpus/cantrbry.tar.xz
Binary files differ