Re: [PATCH 08/24] xfs: replace open-coded calls to xfs_logprint with helpers

Zorro Lang
2020-09-16T02:22:07Z

On Mon, Sep 14, 2020 at 06:43:47PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Use the test/scratch xfs_logprint helpers.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---

Good to me,
Reviewed-by: Zorro Lang <zlang@redhat.com>

> tests/xfs/135 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
> diff --git a/tests/xfs/135 b/tests/xfs/135
> index cc505980..9783cfc2 100755
> --- a/tests/xfs/135
> +++ b/tests/xfs/135
> @@ -48,7 +48,7 @@ for i in 16 32 64 128 256; do
> _scratch_xfs_db -x -c "logformat -c 3 -s $lsunit" | \
> tee -a $seqres.full
> # don't redirect error output so it causes test failure
> - $XFS_LOGPRINT_PROG $SCRATCH_DEV >> $seqres.full
> + _scratch_xfs_logprint >> $seqres.full
> done
>
> # success, all done
>