xfs: test setting XFS BMBT fields in xfs_db
authorMark Tinguely <tinguely@sgi.com>
Tue, 18 Feb 2014 10:18:16 +0000 (21:18 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 18 Feb 2014 10:18:16 +0000 (21:18 +1100)
commitb985883b2c8b20f3611009fc581b0f79fe310535
treef66d5031d71e072e03a64d883f64728472d75f4c
parentfc3e4e652403ccaba4fc8c7cc13f77eb253959df
xfs: test setting XFS BMBT fields in xfs_db

Test the setting of the XFS BMBT fields via xfs_db. Runs through the
valid bit values for each field and tests an illegal value.

[dchinner: added _require_xfs_mkfs_crc and turned off crcs so that
the test doesn't just fail on CRC enabled test runs.]

[dchinner: added hex block values to check they don't get endian
swapped.]

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/001 [new file with mode: 0755]
tests/xfs/001.out [new file with mode: 0644]
tests/xfs/group