1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

lib/compression: add test scripts README

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Douglas Bagnall 2022-11-21 11:25:20 +13:00 committed by Joseph Sutton
parent 1a3d8da731
commit e5f9deed0d

View File

@ -0,0 +1,19 @@
Tools used in the development and testing the LZ77 + Huffman code.
These might not be of use to anyone ever, but here they are.
make-fuzz-examples
encodes compressed files for decompression fuzzer.
decode-huffman-header
print Huffman codes and validate first header in a compressed file.
three-byte-hash
check that a three byte hash works.
make-test-vectors
make files with randomly unbalanced symbol distributions.
generate-windows-test-vectors.c
if compiled under Cygwin or similar on Windows, this can be used to
generate and verify test vectors.