[PATCH v3] xfstests: Btrfs: add test for large metadata blocks

Dave Chinner david at fromorbit.com
Mon Feb 10 16:04:00 CST 2014


On Mon, Feb 10, 2014 at 10:39:22PM +0100, Koen De Wit wrote:
> Tests Btrfs filesystems with all possible metadata block sizes, by
> setting large extended attributes on files.
> 
> Signed-off-by: Koen De Wit <koen.de.wit at oracle.com>
....
> +
> +_test_illegal_leafsize() {
> +        _scratch_mkfs -l $1 >>$seqres.full 2>&1
> +        [ $? -ne 0 ] || _fail "'$1' is an illegal value for the" \
> +                "leafsize option, mkfs should have failed."
> +}

You just re-implemented run_check....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list