Commit 841fb73a authored by Raphael Moreira Zinsly's avatar Raphael Moreira Zinsly Committed by Michael Ellerman

selftests/powerpc: Add NX-GZIP engine decompress testcase

Include a decompression testcase for the powerpc NX-GZIP
engine.
Signed-off-by: default avatarBulent Abali <abali@us.ibm.com>
Signed-off-by: default avatarRaphael Moreira Zinsly <rzinsly@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200420205538.25181-5-rzinsly@linux.ibm.com
parent 647c734f
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
......
This diff is collapsed.
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment