selftests/powerpc: Add NX-GZIP engine decompress testcase

Include a decompression testcase for the powerpc NX-GZIP
engine.

Signed-off-by: Bulent Abali <abali@us.ibm.com>
Signed-off-by: Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200420205538.25181-5-rzinsly@linux.ibm.com
This commit is contained in:
Raphael Moreira Zinsly 2020-04-20 17:55:37 -03:00 committed by Michael Ellerman
parent 647c734f62
commit 841fb73ad2
3 changed files with 1030 additions and 1 deletions

View File

@ -1,6 +1,6 @@
CFLAGS = -O3 -m64 -I./include
TEST_GEN_FILES := gzfht_test
TEST_GEN_FILES := gzfht_test gunz_test
TEST_PROGS := nx-gzip-test.sh
include ../../lib.mk

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@ function test_sizes
echo "Testing $size ($n) ..."
dd if=/dev/urandom of=$fname bs=$size count=1
./gzfht_test $fname
./gunz_test ${fname}.nx.gz
done
}