]> git.proxmox.com Git - mirror_spl-debian.git/commit - module/splat/splat-ctl.c
Add zlib regression test
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 25 Feb 2011 23:48:18 +0000 (15:48 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 26 Feb 2011 00:56:46 +0000 (16:56 -0800)
commit19c1eb829d014cc64a5742710dae042bdaef25ae
treefb2c8ba17e96a0f5e0ef89722503b784bc9fc31e
parent5c1967ebe2ad28f3c3229cba85159ccbd4dfe93a
Add zlib regression test

A zlib regression test has been added to verify the correct behavior
of z_compress_level() and z_uncompress.  The test case simply takes
a 128k buffer, it compresses the buffer, it them uncompresses the
buffer, and finally it compares the buffers after the transform.
If the buffers match then everything is fine and no data was lost.
It performs this test for all 9 zlib compression levels.
include/splat-ctl.h
module/splat/Makefile.in
module/splat/splat-ctl.c
module/splat/splat-internal.h
module/splat/splat-zlib.c [new file with mode: 0644]
scripts/check.sh