xfs: test xfsprogs log formatting infrastructure
authorBrian Foster <bfoster@redhat.com>
Mon, 21 Dec 2015 06:59:04 +0000 (17:59 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Dec 2015 06:59:04 +0000 (17:59 +1100)
commit876161d54479c2edb3339bc9fd7598b36fac5a71
tree5837467419aef19c4a63ad6dd5af65aa2aa5ba7c
parent7a33e8569aa83a779a955d3a61b882649d72310b
xfs: test xfsprogs log formatting infrastructure

The xfsprogs libxfs layer implements its own log formatting code to
support utilities that might need to format the log, such as mkfs,
repair, metadump, etc. This code is fairly independent from kernel log
writing code. Therefore, add a test that reformats the log from
userspace with various supported log stripe unit alignments and verifies
that the end result is a correctly formatted log.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/xfs/135 [new file with mode: 0755]
tests/xfs/135.out [new file with mode: 0644]
tests/xfs/group