]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
testdata: move compression examples to re-use with lzxpress plain
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 23 Nov 2022 22:11:15 +0000 (11:11 +1300)
committerJoseph Sutton <jsutton@samba.org>
Thu, 1 Dec 2022 22:56:40 +0000 (22:56 +0000)
Everything that is in testdata/compression/lzxpress-huffman/ can also
be used for lzxpress plain tests, which is something we really need.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
164 files changed:
lib/compression/tests/test_lzx_huffman.c
testdata/compression/README [new file with mode: 0644]
testdata/compression/compressed-huffman/27826-8.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/27826-8.txt.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/5d049b4cb1bd933f5e8ex19.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/5d049b4cb1bd933f5e8ex19.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/638e61e96d54279981c3x5.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/638e61e96d54279981c3x5.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/64k-minus-one-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/64k-minus-one-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/64k-plus-one-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/64k-plus-one-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/64k-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/64k-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/96f696a4e5ce56c61a3dx10.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/96f696a4e5ce56c61a3dx10.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/9e0b6a12febf38e98f13.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/9e0b6a12febf38e98f13.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/abc-times-101.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/abc-times-101.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/abc-times-105.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/abc-times-105.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/abc-times-200.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/abc-times-200.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/and_rand-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/and_rand-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/and_rand.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/and_rand.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/b63289ccc7f218c0d56b.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/b63289ccc7f218c0d56b.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/beta-variate1-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/beta-variate1-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/beta-variate2-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/beta-variate2-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/beta-variate3-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/beta-variate3-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/decayed_alphabet_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/decayed_alphabet_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/decayed_alphabet_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/decayed_alphabet_64k.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/exp_shuffle-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/exp_shuffle-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/exp_shuffle.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/exp_shuffle.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/f00842317dc6d5695b02.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/f00842317dc6d5695b02.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fib_shuffle-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fib_shuffle-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fib_shuffle.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fib_shuffle.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-0fc2d461b56cd8103c91.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-0fc2d461b56cd8103c91.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-17c961778538cc10ab7c.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-17c961778538cc10ab7c.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-3591f9dc02bb00a54b60.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-3591f9dc02bb00a54b60.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-3ec3bca27bb9eb40c128.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-3ec3bca27bb9eb40c128.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-80b4fa18ff5f8dd04862.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-80b4fa18ff5f8dd04862.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/fuzzing-a3115a81d1ac500318f9.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/fuzzing-a3115a81d1ac500318f9.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/generate-windows-test-vectors.c.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/generate-windows-test-vectors.c.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/midsummer-nights-dream.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/midsummer-nights-dream.txt.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/notes-on-the-underground.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/notes-on-the-underground.txt.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/pg22009.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/pg22009.txt.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/repeating-exactly-64k.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/repeating-exactly-64k.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/repeating.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/repeating.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/setup.log.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/setup.log.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/skewed_choices-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/skewed_choices-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/skewed_choices.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/skewed_choices.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-015ddc36a71412ccc50d.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-015ddc36a71412ccc50d.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-100e9f966a7feb9ca40a.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-100e9f966a7feb9ca40a.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-2a671c3cff4f1574cbab.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-2a671c3cff4f1574cbab.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-33d90a24e70515b14cd0.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-33d90a24e70515b14cd0.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-49d8c05261e3f412fc72.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-49d8c05261e3f412fc72.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-50a249d2fe56873e56a0.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-50a249d2fe56873e56a0.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-63e9f0b52235fb0129fa.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-63e9f0b52235fb0129fa.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-73b7f971d65908ac0095.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-73b7f971d65908ac0095.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-8b61e3dd267908544531.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-8b61e3dd267908544531.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-9d1c5a079b0462986f1f.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-9d1c5a079b0462986f1f.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-aa7262a821dabdcf04a6.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-aa7262a821dabdcf04a6.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-b8a91d142b0d2af7f5ca.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-b8a91d142b0d2af7f5ca.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-c79142457734bbc8d575.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-c79142457734bbc8d575.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-d736544545b90d83fe75.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-d736544545b90d83fe75.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-e3b9bdfaed7d1a606fdb.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-e3b9bdfaed7d1a606fdb.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/slow-f3f1c02a9d006e5e1703.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/slow-f3f1c02a9d006e5e1703.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/square_series-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/square_series-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/square_series.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/square_series.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/trigram_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/trigram_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/trigram_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/trigram_64k.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/trigram_sum_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/trigram_sum_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-huffman/trigram_sum_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/compressed/trigram_sum_64k.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/27826-8.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/27826-8.txt.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/5d049b4cb1bd933f5e8ex19.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/5d049b4cb1bd933f5e8ex19.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/638e61e96d54279981c3x5.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/638e61e96d54279981c3x5.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/64k-minus-one-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/64k-minus-one-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/64k-plus-one-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/64k-plus-one-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/64k-zeros.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/64k-zeros.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/96f696a4e5ce56c61a3dx10.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/96f696a4e5ce56c61a3dx10.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/9e0b6a12febf38e98f13.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/9e0b6a12febf38e98f13.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/abc-times-101.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/abc-times-101.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/abc-times-105.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/abc-times-105.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/abc-times-200.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/abc-times-200.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/and_rand-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/and_rand-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/and_rand.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/and_rand.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/b63289ccc7f218c0d56b.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/b63289ccc7f218c0d56b.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/beta-variate1-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/beta-variate1-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/beta-variate2-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/beta-variate2-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/beta-variate3-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/beta-variate3-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/decayed_alphabet_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/decayed_alphabet_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/decayed_alphabet_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/decayed_alphabet_64k.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/exp_shuffle-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/exp_shuffle-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/exp_shuffle.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/exp_shuffle.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/f00842317dc6d5695b02.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/f00842317dc6d5695b02.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/fib_shuffle-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/fib_shuffle-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/fib_shuffle.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/fib_shuffle.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/generate-windows-test-vectors.c.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/generate-windows-test-vectors.c.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/midsummer-nights-dream.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/midsummer-nights-dream.txt.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/notes-on-the-underground.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/notes-on-the-underground.txt.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/pg22009.txt.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/pg22009.txt.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/repeating-exactly-64k.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/repeating-exactly-64k.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/repeating.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/repeating.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/setup.log.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/setup.log.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/skewed_choices-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/skewed_choices-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/skewed_choices.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/skewed_choices.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/square_series-128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/square_series-128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/square_series.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/square_series.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/trigram_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/trigram_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/trigram_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/trigram_64k.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/trigram_sum_128k+.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/trigram_sum_128k+.lzhuff with 100% similarity]
testdata/compression/compressed-more-huffman/trigram_sum_64k.lzhuff [moved from testdata/compression/lzxpress-huffman/more-compressed/trigram_sum_64k.lzhuff with 100% similarity]
testdata/compression/decompressed/27826-8.txt.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/27826-8.txt.decomp with 100% similarity]
testdata/compression/decompressed/5d049b4cb1bd933f5e8ex19.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/5d049b4cb1bd933f5e8ex19.decomp with 100% similarity]
testdata/compression/decompressed/638e61e96d54279981c3x5.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/638e61e96d54279981c3x5.decomp with 100% similarity]
testdata/compression/decompressed/64k-minus-one-zeros.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/64k-minus-one-zeros.decomp with 100% similarity]
testdata/compression/decompressed/64k-plus-one-zeros.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/64k-plus-one-zeros.decomp with 100% similarity]
testdata/compression/decompressed/64k-zeros.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/64k-zeros.decomp with 100% similarity]
testdata/compression/decompressed/96f696a4e5ce56c61a3dx10.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/96f696a4e5ce56c61a3dx10.decomp with 100% similarity]
testdata/compression/decompressed/9e0b6a12febf38e98f13.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/9e0b6a12febf38e98f13.decomp with 100% similarity]
testdata/compression/decompressed/abc-times-101.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/abc-times-101.decomp with 100% similarity]
testdata/compression/decompressed/abc-times-105.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/abc-times-105.decomp with 100% similarity]
testdata/compression/decompressed/abc-times-200.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/abc-times-200.decomp with 100% similarity]
testdata/compression/decompressed/and_rand-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/and_rand-128k+.decomp with 100% similarity]
testdata/compression/decompressed/and_rand.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/and_rand.decomp with 100% similarity]
testdata/compression/decompressed/b63289ccc7f218c0d56b.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/b63289ccc7f218c0d56b.decomp with 100% similarity]
testdata/compression/decompressed/beta-variate1-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/beta-variate1-128k+.decomp with 100% similarity]
testdata/compression/decompressed/beta-variate2-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/beta-variate2-128k+.decomp with 100% similarity]
testdata/compression/decompressed/beta-variate3-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/beta-variate3-128k+.decomp with 100% similarity]
testdata/compression/decompressed/decayed_alphabet_128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/decayed_alphabet_128k+.decomp with 100% similarity]
testdata/compression/decompressed/decayed_alphabet_64k.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/decayed_alphabet_64k.decomp with 100% similarity]
testdata/compression/decompressed/exp_shuffle-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/exp_shuffle-128k+.decomp with 100% similarity]
testdata/compression/decompressed/exp_shuffle.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/exp_shuffle.decomp with 100% similarity]
testdata/compression/decompressed/f00842317dc6d5695b02.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/f00842317dc6d5695b02.decomp with 100% similarity]
testdata/compression/decompressed/fib_shuffle-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fib_shuffle-128k+.decomp with 100% similarity]
testdata/compression/decompressed/fib_shuffle.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fib_shuffle.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-0fc2d461b56cd8103c91.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-0fc2d461b56cd8103c91.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-17c961778538cc10ab7c.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-17c961778538cc10ab7c.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-3591f9dc02bb00a54b60.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-3591f9dc02bb00a54b60.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-3ec3bca27bb9eb40c128.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-3ec3bca27bb9eb40c128.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-80b4fa18ff5f8dd04862.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-80b4fa18ff5f8dd04862.decomp with 100% similarity]
testdata/compression/decompressed/fuzzing-a3115a81d1ac500318f9.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/fuzzing-a3115a81d1ac500318f9.decomp with 100% similarity]
testdata/compression/decompressed/generate-windows-test-vectors.c.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/generate-windows-test-vectors.c.decomp with 100% similarity]
testdata/compression/decompressed/midsummer-nights-dream.txt.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/midsummer-nights-dream.txt.decomp with 100% similarity]
testdata/compression/decompressed/notes-on-the-underground.txt.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/notes-on-the-underground.txt.decomp with 100% similarity]
testdata/compression/decompressed/pg22009.txt.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/pg22009.txt.decomp with 100% similarity]
testdata/compression/decompressed/repeating-exactly-64k.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/repeating-exactly-64k.decomp with 100% similarity]
testdata/compression/decompressed/repeating.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/repeating.decomp with 100% similarity]
testdata/compression/decompressed/setup.log.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/setup.log.decomp with 100% similarity]
testdata/compression/decompressed/skewed_choices-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/skewed_choices-128k+.decomp with 100% similarity]
testdata/compression/decompressed/skewed_choices.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/skewed_choices.decomp with 100% similarity]
testdata/compression/decompressed/slow-015ddc36a71412ccc50d.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-015ddc36a71412ccc50d.decomp with 100% similarity]
testdata/compression/decompressed/slow-100e9f966a7feb9ca40a.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-100e9f966a7feb9ca40a.decomp with 100% similarity]
testdata/compression/decompressed/slow-2a671c3cff4f1574cbab.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-2a671c3cff4f1574cbab.decomp with 100% similarity]
testdata/compression/decompressed/slow-33d90a24e70515b14cd0.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-33d90a24e70515b14cd0.decomp with 100% similarity]
testdata/compression/decompressed/slow-49d8c05261e3f412fc72.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-49d8c05261e3f412fc72.decomp with 100% similarity]
testdata/compression/decompressed/slow-50a249d2fe56873e56a0.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-50a249d2fe56873e56a0.decomp with 100% similarity]
testdata/compression/decompressed/slow-63e9f0b52235fb0129fa.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-63e9f0b52235fb0129fa.decomp with 100% similarity]
testdata/compression/decompressed/slow-73b7f971d65908ac0095.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-73b7f971d65908ac0095.decomp with 100% similarity]
testdata/compression/decompressed/slow-8b61e3dd267908544531.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-8b61e3dd267908544531.decomp with 100% similarity]
testdata/compression/decompressed/slow-9d1c5a079b0462986f1f.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-9d1c5a079b0462986f1f.decomp with 100% similarity]
testdata/compression/decompressed/slow-aa7262a821dabdcf04a6.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-aa7262a821dabdcf04a6.decomp with 100% similarity]
testdata/compression/decompressed/slow-b8a91d142b0d2af7f5ca.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-b8a91d142b0d2af7f5ca.decomp with 100% similarity]
testdata/compression/decompressed/slow-c79142457734bbc8d575.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-c79142457734bbc8d575.decomp with 100% similarity]
testdata/compression/decompressed/slow-d736544545b90d83fe75.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-d736544545b90d83fe75.decomp with 100% similarity]
testdata/compression/decompressed/slow-e3b9bdfaed7d1a606fdb.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-e3b9bdfaed7d1a606fdb.decomp with 100% similarity]
testdata/compression/decompressed/slow-f3f1c02a9d006e5e1703.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/slow-f3f1c02a9d006e5e1703.decomp with 100% similarity]
testdata/compression/decompressed/square_series-128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/square_series-128k+.decomp with 100% similarity]
testdata/compression/decompressed/square_series.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/square_series.decomp with 100% similarity]
testdata/compression/decompressed/trigram_128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/trigram_128k+.decomp with 100% similarity]
testdata/compression/decompressed/trigram_64k.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/trigram_64k.decomp with 100% similarity]
testdata/compression/decompressed/trigram_sum_128k+.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/trigram_sum_128k+.decomp with 100% similarity]
testdata/compression/decompressed/trigram_sum_64k.decomp [moved from testdata/compression/lzxpress-huffman/decompressed/trigram_sum_64k.decomp with 100% similarity]
testdata/compression/lzxpress-huffman/README [deleted file]

index 92e7222f431ced4e6c4227bc8c31565dc9ad43e1..2adbe68f79968aaa8be2e556694c7abd6f62c4aa 100644 (file)
@@ -88,9 +88,9 @@ struct lzx_file_pair {
 };
 
 
-#define DECOMP_DIR "testdata/compression/lzxpress-huffman/decompressed"
-#define COMP_DIR "testdata/compression/lzxpress-huffman/compressed"
-#define MORE_COMP_DIR "testdata/compression/lzxpress-huffman/more-compressed"
+#define DECOMP_DIR "testdata/compression/decompressed"
+#define COMP_DIR "testdata/compression/compressed-huffman"
+#define MORE_COMP_DIR "testdata/compression/compressed-more-huffman"
 
 
 #define VARRGH(...) __VA_ARGS__
diff --git a/testdata/compression/README b/testdata/compression/README
new file mode 100644 (file)
index 0000000..24c4d46
--- /dev/null
@@ -0,0 +1,47 @@
+# Test vectors for MS-XCA [de-]compression
+
+There are currently two supported varients of the Xpress Compression
+Algorithm, "Plain LZ77" and "LZ77 + Huffman". For each we two
+directories of files compressed on Windows, corresponding to the two
+compression levels that Windows offers.
+
+The subdirectories are
+
+./decompressed            - test files to compress with .decomp extension.
+./compressed-huffman      - LZ77+Huffman compressed, with .lzhuff extension.
+./compressed-more-huffman - LZ77+Huffman compressed, with .lzhuff extension.
+./compressed-plain        - Plain LZ77 compressed, with .lzplain extension.
+./compressed-more-plain   - Plain LZ77 compressed, with .lzplain extension.
+
+where the more-compressed-* versions have the files that Windows put
+more effort into compressing (largely in vain -- they are similar in
+size). Windows probably does not use this more effortful compression
+in network protocols, but these files must be decompressible.
+
+The compressed files were made using the Windows Compression API,
+which uses the same underlying code as MS-XCA, but which puts some
+annoying hurdles in the way. In particular, it won't perform
+LZ77+Huffman compression on any file smaller than 300 bytes. The
+relationship between the two is covered in various messages in
+
+https://lists.samba.org/archive/cifs-protocol/2022-October/
+https://lists.samba.org/archive/cifs-protocol/2022-November/
+
+To recreate these files or add more, use
+lib/compression/tests/scripts/generate-windows-test-vectors.c under
+Cygwin or MSYS2. This file is also in the decompressed directory.
+
+Some of the decompressed files were found via fuzzing, some are designed
+to test one aspect or another of the format, while others are public
+domain texts.
+
+These are used in compression and decompression tests.
+
+- For decompression tests, we need the decompressed versions to
+  compare against.
+
+- For compression tests, we do not assert that the compressed file is
+  identical to the Windows compressed file. Exact equality is not
+  expected by MS-XCA, which leaves room for implementation tricks, but
+  the size of the compressed file allows us to make ballpark
+  assertions about expected compression ratios.
diff --git a/testdata/compression/lzxpress-huffman/README b/testdata/compression/lzxpress-huffman/README
deleted file mode 100644 (file)
index 1f1eb21..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# Test vectors for LZ77+Huffman [de-]compression
-
-The three subdirectories contain files that correspond to each other
-
-./decompressed    - test files to compress with .decomp extension.
-./compressed      - files compressed as if for Windows SMB, with .lzhuff
-                    extension.
-./more-compressed - files compressed more thoroughly by Windows, using
-                    more effort than SMB does, with .lzhuff extension.
-                    Only some of the decompressed files have been
-                    compressed in this way.
-
-The compressed files were compressed on Windows, using the Compression
-API, which uses the same underlying code as MS-XCA, but which puts
-some annoying hurdles in the way. In particular, it won't compress any
-file smaller than 300 bytes. The relationship between the two is
-covered in various messages in
-
-https://lists.samba.org/archive/cifs-protocol/2022-October/
-https://lists.samba.org/archive/cifs-protocol/2022-November/
-
-Some of the decompressed files were found via fuzzing, some are designed
-to test one aspect or another of the format, while others are public
-domain texts.
-
-These are used in LZ77 + Huffman compression and decompression tests.
-
-- For decompression tests, we need the decompressed versions to
-  compare against.
-
-- For compression tests, we do not assert that the compressed file is
-  identical to the Windows compressed file. Exact equality is not
-  expected by MS-XCA, which leaves room for implementation tricks, but
-  the size of the compressed file allows us to make ballpark
-  assertions about expected compression ratios.