On Tue, Jun 09, 2020 at 04:24:42PM +0800, Zorro Lang wrote:
> Latest xfsprogs mkfs.xfs prints "Discarding blocks...Done" if the
> disk supports the trim. That breaks the golden image, cause
> unexpected failure, so filter out it.
>
> Signed-off-by: Zorro Lang <zlang@redhat.com>
Seems reasonable to me...
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
--D
> ---
> tests/xfs/096 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/xfs/096 b/tests/xfs/096
> index ef6136af..04bc7b7d 100755
> --- a/tests/xfs/096
> +++ b/tests/xfs/096
> @@ -78,6 +78,7 @@ mkfs_filter()
> -e 's/ ftype=[01]//' \
> -e '/^log stripe unit.*too large/d' \
> -e '/^log stripe unit adjusted/d' \
> + -e '/Discarding/d' \
> | grep -v parent
> }
>
> --
> 2.20.1
>