Re: [PATCH 1/2] xfstests 224: Use $SCRATCH_MNT variable

Eric Sandeen
2010-09-29T16:17:47Z

Lukas Czerner wrote:
> Use $SCRATCH_MNT variable instead of hard-coded path (/mnt/scratch) in
> test 224.

heh, whoops!

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

I'll commit it.

> ---
> 224 | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/224 b/224
> index 21be9af..00ebd2e 100644
> --- a/224
> +++ b/224
> @@ -60,7 +60,7 @@ _scratch_mount >> $seq.full 2>&1
>
> # set the reserved block pool to almost empty for XFS
> if [ "$FSTYP" = "xfs" ]; then
> - xfs_io -x -c "resblks 4" /mnt/scratch/ >> $seq.full 2>&1
> + xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seq.full 2>&1
> fi
>
> FILES=1000