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:
parent
647c734f62
commit
841fb73ad2
@ -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
|
||||
|
1028
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
Normal file
1028
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user