]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: add crc32 self test
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 30 Oct 2018 21:53:59 +0000 (16:53 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 30 Oct 2018 21:53:59 +0000 (16:53 -0500)
commit99a5535c53b0e8db38d15f52c859d52ac2f29723
tree3f2fcb87ae33d8cfa5fc1948cd446e4208273052
parentc8dc76e253ff716c80c69eeaf5d2c064a1431593
xfs_io: add crc32 self test

Add a self test for crc32c into xfs_io so that xfstests can check the
operation of the (potentially cross-compiled) package binaries by
isolating the self test code to a header file that can be included by
the build system self test and xfs_io.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/crc32cselftest.h [new file with mode: 0644]
io/Makefile
io/crc32cselftest.c [new file with mode: 0644]
io/init.c
io/io.h
libfrog/crc32.c
man/man8/xfs_io.8