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@xxxxxxxxxx>
....
> +
> +_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@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html